Browse Source

[rutv] Extend embed URL (Closes #5782)

totalwebcasting
Sergey M․ 10 years ago
parent
commit
685c74d315
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/rutv.py

+ 1
- 1
youtube_dl/extractor/rutv.py View File

@ -104,7 +104,7 @@ class RUTVIE(InfoExtractor):
@classmethod @classmethod
def _extract_url(cls, webpage): def _extract_url(cls, webpage):
mobj = re.search( mobj = re.search(
r'<iframe[^>]+?src=(["\'])(?P<url>https?://player\.rutv\.ru/(?:iframe/(?:swf|video|live)/id|index/iframe/cast_id)/.+?)\1', webpage)
r'<iframe[^>]+?src=(["\'])(?P<url>https?://player\.(?:rutv\.ru|vgtrk\.com)/(?:iframe/(?:swf|video|live)/id|index/iframe/cast_id)/.+?)\1', webpage)
if mobj: if mobj:
return mobj.group('url') return mobj.group('url')


Loading…
Cancel
Save