[extractor/generic:myvi] Add support for myvi embeds
This commit is contained in:
parent
83423254cc
commit
e6c2d9ad29
2 changed files with 15 additions and 0 deletions
|
@ -37,6 +37,7 @@ from .rutv import RUTVIE
|
|||
from .tvc import TVCIE
|
||||
from .sportbox import SportBoxEmbedIE
|
||||
from .smotri import SmotriIE
|
||||
from .myvi import MyviEmbedIE
|
||||
from .condenast import CondeNastIE
|
||||
from .udn import UDNEmbedIE
|
||||
from .senateisvp import SenateISVPIE
|
||||
|
@ -1425,6 +1426,11 @@ class GenericIE(InfoExtractor):
|
|||
if smotri_url:
|
||||
return self.url_result(smotri_url, 'Smotri')
|
||||
|
||||
# Look for embedded Myvi.ru player
|
||||
myvi_url = MyviEmbedIE._extract_url(webpage)
|
||||
if myvi_url:
|
||||
return self.url_result(myvi_url)
|
||||
|
||||
# Look for embeded soundcloud player
|
||||
mobj = re.search(
|
||||
r'<iframe\s+(?:[a-zA-Z0-9_-]+="[^"]+"\s+)*src="(?P<url>https?://(?:w\.)?soundcloud\.com/player[^"]+)"',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue