diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-06-09 04:02:27 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-06-09 04:02:27 +0700 |
commit | 48a5eabc487058ccaa1076b74ad9106fc6019955 (patch) | |
tree | aa2e68bcfc2da5299d3e30e4e313cbee82f7c867 | |
parent | 11380753b5aa9d8128ef28a968ab325973276fa5 (diff) |
[extractor/generic] Add support vessel embeds (Closes #7083)
-rw-r--r-- | youtube_dl/extractor/generic.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index b4138381d..90575ab0e 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -63,6 +63,7 @@ from .instagram import InstagramIE from .liveleak import LiveLeakIE from .threeqsdn import ThreeQSDNIE from .theplatform import ThePlatformIE +from .vessel import VesselIE class GenericIE(InfoExtractor): @@ -1533,6 +1534,11 @@ class GenericIE(InfoExtractor): if tp_urls: return _playlist_from_matches(tp_urls, ie='ThePlatform') + # Look for Vessel embeds + vessel_urls = VesselIE._extract_urls(webpage) + if vessel_urls: + return _playlist_from_matches(vessel_urls, ie=VesselIE.ie_key()) + # Look for embedded rtl.nl player matches = re.findall( r'<iframe[^>]+?src="((?:https?:)?//(?:www\.)?rtl\.nl/system/videoplayer/[^"]+(?:video_)?embed[^"]+)"', |