[sixplay] use raw string for regex

pull/2/head
Remita Amine 8 years ago
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…
Cancel
Save