[laola1tv] Use raw strings for regular expressions
authorNaglis Jonaitis <njonaitis@gmail.com>
Mon, 23 Feb 2015 18:51:30 +0000 (20:51 +0200)
committerNaglis Jonaitis <njonaitis@gmail.com>
Mon, 23 Feb 2015 18:51:30 +0000 (20:51 +0200)
Oops

youtube_dl/extractor/laola1tv.py

index 1354214061dfc742fe1654f280109478bcdf57dc..e8ca49fd1564d8b3c2def7551645cd0179642f97 100644 (file)
@@ -47,7 +47,7 @@ class Laola1TvIE(InfoExtractor):
         flashvars = dict((m[0], m[1]) for m in flashvars_m)
 
         partner_id = self._search_regex(
-            'partnerid\s*:\s*"([^"]+)"', iframe, 'partner id')
+            r'partnerid\s*:\s*"([^"]+)"', iframe, 'partner id')
 
         xml_url = ('http://www.laola1.tv/server/hd_video.php?' +
                    'play=%s&partner=%s&portal=%s&v5ident=&lang=%s' % (