mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 13:16:51 +01:00
[jsinterp] Workaround operator associativity issue
https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1235384480
This commit is contained in:
parent
3c7a276234
commit
1a7c9fad9f
@ -126,6 +126,10 @@
|
||||
'https://www.youtube.com/s/player/c57c113c/player_ias.vflset/en_US/base.js',
|
||||
'M92UUMHa8PdvPd3wyM', '3hPqLJsiNZx7yA',
|
||||
),
|
||||
(
|
||||
'https://www.youtube.com/s/player/5a3b6271/player_ias.vflset/en_US/base.js',
|
||||
'B2j7f_UPT4rfje85Lu_e', 'm5DmNymaGQ5RdQ',
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
@ -117,8 +117,8 @@ def _js_ternary(cndn, if_true=True, if_false=False):
|
||||
'-': _js_arith_op(operator.sub),
|
||||
|
||||
'*': _js_arith_op(operator.mul),
|
||||
'/': _js_div,
|
||||
'%': _js_mod,
|
||||
'/': _js_div,
|
||||
'**': _js_exp,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user