mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
YT: save decipher actions only after successful deciphering
This commit is contained in:
@@ -129,7 +129,10 @@ var YouTubeClient = GObject.registerClass({
|
||||
break;
|
||||
}
|
||||
actions = YTDL.sig.extractActions(pBody);
|
||||
this._createCacheFileAsync(ytId, actions);
|
||||
if(actions) {
|
||||
debug('deciphered');
|
||||
this._createCacheFileAsync(ytId, actions);
|
||||
}
|
||||
}
|
||||
if(!actions || !actions.length) {
|
||||
debug(new Error('could not extract decipher actions'));
|
||||
|
Reference in New Issue
Block a user