mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-21 00:25:42 +07:00
Fix "invalid escape sequences" error on Python 3.6
This commit is contained in:
@@ -126,7 +126,7 @@ def _real_extract(self, url):
|
||||
|
||||
if not assets:
|
||||
# New embed pattern
|
||||
for v in re.findall('TV2ContentboxVideo\(({.+?})\)', webpage):
|
||||
for v in re.findall(r'TV2ContentboxVideo\(({.+?})\)', webpage):
|
||||
video = self._parse_json(
|
||||
v, playlist_id, transform_source=js_to_json, fatal=False)
|
||||
if not video:
|
||||
|
||||
Reference in New Issue
Block a user