From d762a59cc4d468725c779cb1688e5b2fdd1571f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Fri, 19 Mar 2021 14:27:55 +0100 Subject: [PATCH] YT: do not keep URI in temp data twice --- src/youtube.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/youtube.js b/src/youtube.js index 0f13feae..ad661864 100644 --- a/src/youtube.js +++ b/src/youtube.js @@ -564,6 +564,12 @@ var YouTubeClient = GObject.registerClass({ return false; } stream.url = formatUrl; + + /* Remove unneeded data */ + if(stream.signatureCipher) + delete stream.signatureCipher; + if(stream.cipher) + delete stream.cipher; } } debug('all streams deciphered');