]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[videomore] Fix embed regex
authorSergey M․ <dstftw@gmail.com>
Wed, 21 Sep 2016 15:51:36 +0000 (22:51 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 21 Sep 2016 15:51:36 +0000 (22:51 +0700)
youtube_dl/extractor/videomore.py

index 328b5b7fbae72d8bfe28909488665c65bec2c8a7..8a11ff84828a26d35566c7f5fe65c3f4cdc322b4 100644 (file)
@@ -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')