mirror of
https://gitlab.com/ytdl-org/youtube-dl.git
synced 2025-11-06 16:47:07 -05:00
[videomore] Support <iframe> embed videos
Seen in CarambaTVPage
This commit is contained in:
@@ -86,6 +86,11 @@ class VideomoreIE(InfoExtractor):
|
|||||||
mobj = re.search(
|
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)
|
webpage)
|
||||||
|
if not mobj:
|
||||||
|
mobj = re.search(
|
||||||
|
r'<iframe[^>]+src=([\'"])(?P<url>https?://videomore\.ru/embed/\d+)',
|
||||||
|
webpage)
|
||||||
|
|
||||||
if mobj:
|
if mobj:
|
||||||
return mobj.group('url')
|
return mobj.group('url')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user