diff --git a/src/youtube.js b/src/youtube.js index 6abf8ab7..1c1b49a1 100644 --- a/src/youtube.js +++ b/src/youtube.js @@ -388,6 +388,7 @@ var YouTubeClient = GObject.registerClass({ const sig = gstUri.get_query_value(queryKeys.sig); const key = YTDL.sig.decipher(cipher, actions); + if(!key) return null; debug('stream deciphered');