mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-22 06:00:00 +00:00
[ie/youtube] Raise if n
function returns input value (#11752)
Improve a95ee6d880
Authored by: bashonly
This commit is contained in:
parent
a95ee6d880
commit
4bd2655398
1 changed files with 1 additions and 1 deletions
|
@ -3280,7 +3280,7 @@ def extract_nsig(s):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise JSInterpreter.Exception(traceback.format_exc(), cause=e)
|
raise JSInterpreter.Exception(traceback.format_exc(), cause=e)
|
||||||
|
|
||||||
if ret.startswith('enhanced_except_') or ret.endswith(f'_w8_{s}'):
|
if ret.startswith('enhanced_except_') or ret.endswith(s):
|
||||||
raise JSInterpreter.Exception('Signature function returned an exception')
|
raise JSInterpreter.Exception('Signature function returned an exception')
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue