mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 19:52:40 +01:00
[extractor/generic] Add support for tvc embeds
This commit is contained in:
parent
29902c8ec0
commit
494f20cbdc
@ -34,6 +34,7 @@
|
|||||||
from .nbc import NBCSportsVPlayerIE
|
from .nbc import NBCSportsVPlayerIE
|
||||||
from .ooyala import OoyalaIE
|
from .ooyala import OoyalaIE
|
||||||
from .rutv import RUTVIE
|
from .rutv import RUTVIE
|
||||||
|
from .tvc import TVCEmbedIE
|
||||||
from .sportbox import SportBoxEmbedIE
|
from .sportbox import SportBoxEmbedIE
|
||||||
from .smotri import SmotriIE
|
from .smotri import SmotriIE
|
||||||
from .condenast import CondeNastIE
|
from .condenast import CondeNastIE
|
||||||
@ -1301,6 +1302,11 @@ def _playlist_from_matches(matches, getter=None, ie=None):
|
|||||||
if rutv_url:
|
if rutv_url:
|
||||||
return self.url_result(rutv_url, 'RUTV')
|
return self.url_result(rutv_url, 'RUTV')
|
||||||
|
|
||||||
|
# Look for embedded TVC player
|
||||||
|
rutv_url = TVCEmbedIE._extract_url(webpage)
|
||||||
|
if rutv_url:
|
||||||
|
return self.url_result(rutv_url, 'TVCEmbed')
|
||||||
|
|
||||||
# Look for embedded SportBox player
|
# Look for embedded SportBox player
|
||||||
sportbox_urls = SportBoxEmbedIE._extract_urls(webpage)
|
sportbox_urls = SportBoxEmbedIE._extract_urls(webpage)
|
||||||
if sportbox_urls:
|
if sportbox_urls:
|
||||||
|
Loading…
Reference in New Issue
Block a user