[YouTube] Pass nsig value as return hook, fixes player 3bb1f723

This commit is contained in:
dirkf 2024-12-12 04:38:23 +00:00
parent b4469a0f65
commit eed784e15f
2 changed files with 4 additions and 2 deletions

View file

@ -1740,7 +1740,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
def extract_nsig(s):
try:
ret = func([s])
ret = func([s], kwargs={'_ytdl_do_not_return': s})
except JSInterpreter.Exception:
raise
except Exception as e: