mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-18 03:02:21 -05:00
[videomore] Support <iframe> embed videos
Seen in CarambaTVPage
This commit is contained in:
parent
e2004ccaf7
commit
146969e05b
1 changed files with 5 additions and 0 deletions
|
@ -86,6 +86,11 @@ def _extract_url(webpage):
|
|||
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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue