aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-06-12 16:22:46 +0600
committerSergey M․ <dstftw@gmail.com>2015-06-12 16:22:46 +0600
commit494f20cbdca8e76e3cb452bb0feabcb855d9b4a7 (patch)
tree1bf412f45c11994b9256999bc88d707a07285173 /youtube_dl/extractor
parent29902c8ec016a7128557d47a7413e82d4e022f01 (diff)
[extractor/generic] Add support for tvc embeds
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/generic.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 75526384f..c797c4b52 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -34,6 +34,7 @@ from .brightcove import BrightcoveIE
from .nbc import NBCSportsVPlayerIE
from .ooyala import OoyalaIE
from .rutv import RUTVIE
+from .tvc import TVCEmbedIE
from .sportbox import SportBoxEmbedIE
from .smotri import SmotriIE
from .condenast import CondeNastIE
@@ -1301,6 +1302,11 @@ class GenericIE(InfoExtractor):
if rutv_url:
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
sportbox_urls = SportBoxEmbedIE._extract_urls(webpage)
if sportbox_urls: