mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 17:26:51 +01:00
[sixplay] use raw string for regex
This commit is contained in:
parent
e01bfc19c3
commit
5abcca9060
@ -69,7 +69,7 @@ class SixPlayIE(InfoExtractor):
|
|||||||
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