[YouTube] Fix nsig processing for player b22ef6e7

* improve extraction of function name (like yt-dlp/yt-dlp#10390)
* always use JSInterp to extract function code (yt-dlp/yt-dlp#10396, thx seproDev, pukkandan)
This commit is contained in:
dirkf 2024-07-10 18:20:59 +01:00
parent d35ce6ce95
commit 16f5bbc464
2 changed files with 14 additions and 14 deletions

View file

@ -162,6 +162,10 @@ _NSIG_TESTS = [
'https://www.youtube.com/s/player/590f65a6/player_ias.vflset/en_US/base.js',
'1tm7-g_A9zsI8_Lay_', 'xI4Vem4Put_rOg',
),
(
'https://www.youtube.com/s/player/b22ef6e7/player_ias.vflset/en_US/base.js',
'b6HcntHGkvBLk_FRf', 'kNPW6A7FyP2l8A',
),
]