diff options
author | dirkf <[email protected]> | 2024-12-12 04:38:23 +0000 |
---|---|---|
committer | dirkf <[email protected]> | 2024-12-16 12:38:51 +0000 |
commit | eed784e15f6066b152a3cce8db6fe3f059290b22 (patch) | |
tree | 941814031f0013e536ecf8176638fd4bbf65e1b6 /youtube_dl | |
parent | b4469a0f652c450a81901795a8f522ae5457a1cf (diff) | |
download | youtube-dl-eed784e15f6066b152a3cce8db6fe3f059290b22.tar.gz youtube-dl-eed784e15f6066b152a3cce8db6fe3f059290b22.zip |
[YouTube] Pass nsig value as return hook, fixes player `3bb1f723`
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index d633032ae..55881f4d1 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -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: |