[laola1tv] Use raw strings for regular expressions

Oops
This commit is contained in:
Naglis Jonaitis 2015-02-23 20:51:30 +02:00
parent 3037b91e05
commit 1fbaa0a521

View File

@ -47,7 +47,7 @@ def _real_extract(self, url):
flashvars = dict((m[0], m[1]) for m in flashvars_m) flashvars = dict((m[0], m[1]) for m in flashvars_m)
partner_id = self._search_regex( 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?' + xml_url = ('http://www.laola1.tv/server/hd_video.php?' +
'play=%s&partner=%s&portal=%s&v5ident=&lang=%s' % ( 'play=%s&partner=%s&portal=%s&v5ident=&lang=%s' % (