aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/rutv.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-09-10 01:09:04 +0700
committerSergey M․ <dstftw@gmail.com>2014-09-10 01:09:04 +0700
commitf009f19ece7ba46d643d1897711efd73ec274020 (patch)
treed301d22f44924f2714ff903125aec4d39fb0b382 /youtube_dl/extractor/rutv.py
parent68477e88399ce102da3485e03e67d104b051f959 (diff)
[rutv] Fix rutv player regex
Diffstat (limited to 'youtube_dl/extractor/rutv.py')
-rw-r--r--youtube_dl/extractor/rutv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rutv.py b/youtube_dl/extractor/rutv.py
index 6c5f5a680..f737b4e5f 100644
--- a/youtube_dl/extractor/rutv.py
+++ b/youtube_dl/extractor/rutv.py
@@ -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')