From: Remita Amine Date: Fri, 10 Feb 2017 08:34:23 +0000 (+0100) Subject: [sixplay] use raw string for regex X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=5abcca9060dfd82e86ec590e0fba6ccd111b54a5;p=youtube-dl.git [sixplay] use raw string for regex --- diff --git a/youtube_dl/extractor/sixplay.py b/youtube_dl/extractor/sixplay.py index 8d60cbd73..547be8f95 100644 --- a/youtube_dl/extractor/sixplay.py +++ b/youtube_dl/extractor/sixplay.py @@ -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(