[jsinterp] Fix escape in regex

This commit is contained in:
pukkandan
2022-09-01 13:14:04 +05:30
parent b505e8517a
commit 05deb747bb
4 changed files with 16 additions and 6 deletions

View File

@@ -2702,7 +2702,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
def _extract_n_function_code(self, video_id, player_url):
player_id = self._extract_player_info(player_url)
func_code = self.cache.load('youtube-nsig', player_id, min_ver='2022.08.19.2')
func_code = self.cache.load('youtube-nsig', player_id, min_ver='2022.09.1')
jscode = func_code or self._load_player(video_id, player_url)
jsi = JSInterpreter(jscode)