mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:42:30 +00:00
[sixplay] use raw string for regex
This commit is contained in:
parent
e01bfc19c3
commit
5abcca9060
@ -69,7 +69,7 @@ def _real_extract(self, url):
|
|||||||
asset_url.replace('.m3u8', '.mpd'),
|
asset_url.replace('.m3u8', '.mpd'),
|
||||||
video_id, mpd_id='dash', fatal=False))
|
video_id, mpd_id='dash', fatal=False))
|
||||||
formats.extend(self._extract_ism_formats(
|
formats.extend(self._extract_ism_formats(
|
||||||
re.sub('/[^/]+\.m3u8', '/Manifest', asset_url),
|
re.sub(r'/[^/]+\.m3u8', '/Manifest', asset_url),
|
||||||
video_id, ism_id='mss', fatal=False))
|
video_id, ism_id='mss', fatal=False))
|
||||||
else:
|
else:
|
||||||
formats.extend(self._extract_m3u8_formats(
|
formats.extend(self._extract_m3u8_formats(
|
||||||
|
Loading…
Reference in New Issue
Block a user