Browse Source
[videomore] Support <iframe> embed videos
Seen in CarambaTVPage
master
Yen Chi Hsuan
8 years ago
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30
1 changed files with
5 additions and
0 deletions
-
youtube_dl/extractor/videomore.py
|
|
@ -86,6 +86,11 @@ class VideomoreIE(InfoExtractor): |
|
|
|
mobj = re.search( |
|
|
|
r'<object[^>]+data=(["\'])https?://videomore\.ru/player\.swf\?.*config=(?P<url>https?://videomore\.ru/(?:[^/]+/)+\d+\.xml).*\1', |
|
|
|
webpage) |
|
|
|
if not mobj: |
|
|
|
mobj = re.search( |
|
|
|
r'<iframe[^>]+src=([\'"])(?P<url>https?://videomore\.ru/embed/\d+)', |
|
|
|
webpage) |
|
|
|
|
|
|
|
if mobj: |
|
|
|
return mobj.group('url') |
|
|
|
|
|
|
|