mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[jsinterp] Fix bug in operator precedence
Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1226659543
This commit is contained in:
parent
e5458d1d88
commit
164b03c486
2 changed files with 5 additions and 1 deletions
|
@ -114,6 +114,10 @@
|
|||
'https://www.youtube.com/s/player/009f1d77/player_ias.vflset/en_US/base.js',
|
||||
'5dwFHw8aFWQUQtffRq', 'audescmLUzI3jw',
|
||||
),
|
||||
(
|
||||
'https://www.youtube.com/s/player/dc0c6770/player_ias.vflset/en_US/base.js',
|
||||
'5EHDMgYLV6HPGk_Mu-kk', 'n9lUJLHbxUI0GQ',
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -98,8 +98,8 @@ def _js_ternary(cndn, if_true=True, if_false=False):
|
|||
'&': _js_bit_op(operator.and_),
|
||||
|
||||
'===': operator.is_,
|
||||
'==': _js_eq_op(operator.eq),
|
||||
'!==': operator.is_not,
|
||||
'==': _js_eq_op(operator.eq),
|
||||
'!=': _js_eq_op(operator.ne),
|
||||
|
||||
'<=': _js_comp_op(operator.le),
|
||||
|
|
Loading…
Reference in a new issue