From f1e00434ba8ff767e3c2beca8359f61b2c96d8b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Tue, 16 Mar 2021 13:44:22 +0100 Subject: [PATCH] Fix reference to undefined object --- src/youtube.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/youtube.js b/src/youtube.js index 5e2616af..ef84c17b 100644 --- a/src/youtube.js +++ b/src/youtube.js @@ -166,7 +166,7 @@ var YouTubeClient = GObject.registerClass({ continue; } - actions = YTDL.sig.extractActions(pBody); + actions = YTDL.sig.extractActions(result.data); if(actions) { debug('deciphered'); this._createCacheFileAsync(ytId, actions);