From: Naglis Jonaitis Date: Mon, 23 Feb 2015 18:51:30 +0000 (+0200) Subject: [laola1tv] Use raw strings for regular expressions X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=1fbaa0a5210976a2a8fc0c20207708c35621416a;p=youtube-dl.git [laola1tv] Use raw strings for regular expressions Oops --- diff --git a/youtube_dl/extractor/laola1tv.py b/youtube_dl/extractor/laola1tv.py index 135421406..e8ca49fd1 100644 --- a/youtube_dl/extractor/laola1tv.py +++ b/youtube_dl/extractor/laola1tv.py @@ -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' % (