[jsinterp] Overhaul JSInterp to handle new YT players 4c3f79c5, 324f67b9 (#31170)
authordirkf <fieldhouse@gmx.net>
Sun, 14 Aug 2022 17:45:45 +0000 (18:45 +0100)
committerGitHub <noreply@github.com>
Sun, 14 Aug 2022 17:45:45 +0000 (18:45 +0100)
commitd231b56717c73ee597d2e077d11b69ed48a1b02d
treed38a1b2f948b150c253ba91cc8568b6225fa29fd
parente6a836d54ca1d3cd02f3ee45ef707a46f23e8291
[jsinterp] Overhaul JSInterp to handle new YT players 4c3f79c5324f67b9 (#31170)

* back-port from yt-dlp 8f53dc44a0cc1c2d98c35740b9293462c080f5d0, thanks pukkandan
* also support void, improve <</>> precedence, improve expressions in comma-list
* add more tests
test/test_jsinterp.py
test/test_utils.py
test/test_youtube_signature.py
youtube_dl/compat.py
youtube_dl/jsinterp.py
youtube_dl/utils.py