1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 14:45:14 +00:00

[jsinterp] Improve separating regex

Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1273974909
This commit is contained in:
pukkandan
2022-10-11 07:59:27 +05:30
parent d509c1f5a3
commit 0468a3b325
4 changed files with 14 additions and 3 deletions

View File

@@ -2832,7 +2832,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
self.report_warning(
f'Native nsig extraction failed: Trying with PhantomJS\n'
f' n = {s} ; player = {player_url}', video_id)
self.write_debug(e)
self.write_debug(e, only_once=True)
args, func_body = func_code
ret = jsi.execute(