]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[sixplay] use raw string for regex
authorRemita Amine <remitamine@gmail.com>
Fri, 10 Feb 2017 08:34:23 +0000 (09:34 +0100)
committerRemita Amine <remitamine@gmail.com>
Fri, 10 Feb 2017 08:34:59 +0000 (09:34 +0100)
youtube_dl/extractor/sixplay.py

index 8d60cbd73582ac1fe4d7035896a6ebe7ec0c7745..547be8f9555c6691a1d57ea4e3c4555b943ee53a 100644 (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(