[videomore] Fix embed regex

pull/10788/head
Sergey M․ 8 years ago
parent 3a5a18705f
commit 12f211d0cb
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -84,7 +84,7 @@ class VideomoreIE(InfoExtractor):
@staticmethod
def _extract_url(webpage):
mobj = re.search(
r'<object[^>]+data=(["\'])https?://videomore.ru/player\.swf\?.*config=(?P<url>https?://videomore\.ru/(?:[^/]+/)+\d+\.xml).*\1',
r'<object[^>]+data=(["\'])https?://videomore\.ru/player\.swf\?.*config=(?P<url>https?://videomore\.ru/(?:[^/]+/)+\d+\.xml).*\1',
webpage)
if mobj:
return mobj.group('url')

Loading…
Cancel
Save