diff options
author | dirkf <fieldhouse@gmx.net> | 2022-08-19 11:45:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 11:45:04 +0100 |
commit | 538ec65ba7634bb9ad9f8eb4ce72713c673969dc (patch) | |
tree | 4ee6102400e83628c076ba06a83ea0490b8d7680 /test/test_youtube_signature.py | |
parent | b0a60ce2032172aeaaf27fe3866ab72768f10cb2 (diff) | |
download | youtube-dl-538ec65ba7634bb9ad9f8eb4ce72713c673969dc.tar.xz |
[jsinterp] Handle regexp literals and throw/catch execution (#31182)
* based on https://github.com/yt-dlp/yt-dlp/commit/f6ca640b122239d5ab215f8c2564efb7ac3e8c65, thanks pukkandan
* adds parse support for regexp flags
Diffstat (limited to 'test/test_youtube_signature.py')
-rw-r--r-- | test/test_youtube_signature.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py index 4d756dad3..43e22388d 100644 --- a/test/test_youtube_signature.py +++ b/test/test_youtube_signature.py @@ -106,6 +106,10 @@ _NSIG_TESTS = [ 'https://www.youtube.com/s/player/c81bbb4a/player_ias.vflset/en_US/base.js', 'gre3EcLurNY2vqp94', 'Z9DfGxWP115WTg', ), + ( + 'https://www.youtube.com/s/player/1f7d5369/player_ias.vflset/en_US/base.js', + 'batNX7sYqIJdkJ', 'IhOkL_zxbkOZBw', + ), ] |