diff options
author | Naglis Jonaitis <njonaitis@gmail.com> | 2015-02-23 20:51:30 +0200 |
---|---|---|
committer | Naglis Jonaitis <njonaitis@gmail.com> | 2015-02-23 20:51:30 +0200 |
commit | 1fbaa0a5210976a2a8fc0c20207708c35621416a (patch) | |
tree | 8bcf133e26a3fd478bac9a0d1f859cb4825111b7 /youtube_dl | |
parent | 3037b91e05e68a4ab3420cbbdb23cfb0739011d3 (diff) |
[laola1tv] Use raw strings for regular expressions
Oops
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/laola1tv.py | 2 |
1 files changed, 1 insertions, 1 deletions
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' % ( |