1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

[sixplay] use raw string for regex

This commit is contained in:
Remita Amine 2017-02-10 09:34:23 +01:00
parent e01bfc19c3
commit 5abcca9060

View File

@ -69,7 +69,7 @@ class SixPlayIE(InfoExtractor):
asset_url.replace('.m3u8', '.mpd'),
video_id, mpd_id='dash', fatal=False))
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))
else:
formats.extend(self._extract_m3u8_formats(