1
0
Fork 0

[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
commit 0468a3b325
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
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(