[rutv] Fix rutv player regex
authorSergey M․ <dstftw@gmail.com>
Tue, 9 Sep 2014 18:09:04 +0000 (01:09 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 9 Sep 2014 18:09:04 +0000 (01:09 +0700)
youtube_dl/extractor/rutv.py

index 6c5f5a6804722bc43451f595dcdff56c3a7377b6..f737b4e5fad8cd86e28b094abcb4226927083d2a 100644 (file)
@@ -100,7 +100,7 @@ class RUTVIE(InfoExtractor):
             return mobj.group('url')
 
         mobj = re.search(
-            r'<meta[^>]+?property=(["\'])og:video\1[^>]+?content=(["\'])(?P<url>http://player\.(?:rutv\.ru|vgtrk\.com)/flash2v/container\.swf\?id=.+?\2)',
+            r'<meta[^>]+?property=(["\'])og:video\1[^>]+?content=(["\'])(?P<url>https?://player\.(?:rutv\.ru|vgtrk\.com)/flash2v/container\.swf\?id=.+?\2)',
             webpage)
         if mobj:
             return mobj.group('url')