diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-08-14 22:51:44 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-08-14 22:51:44 +0700 |
commit | 57c68ec4c303f471b2519db21b9b56c080d88338 (patch) | |
tree | 10be8cb3e4fa62e8346088feb3226cd4f5fc1ee3 /youtube_dl/extractor/generic.py | |
parent | 24e0cd709fae13d9192361dae27ecd292c6b1fd6 (diff) |
[generic] Add support for expressen embeds
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-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 43218c3a4..83a31f3d3 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -114,6 +114,7 @@ from .indavideo import IndavideoEmbedIE from .apa import APAIE from .foxnews import FoxNewsIE from .viqeo import ViqeoIE +from .expressen import ExpressenIE class GenericIE(InfoExtractor): @@ -3109,6 +3110,11 @@ class GenericIE(InfoExtractor): return self.playlist_from_matches( viqeo_urls, video_id, video_title, ie=ViqeoIE.ie_key()) + expressen_urls = ExpressenIE._extract_urls(webpage) + if expressen_urls: + return self.playlist_from_matches( + expressen_urls, video_id, video_title, ie=ExpressenIE.ie_key()) + # Look for HTML5 media entries = self._parse_html5_media_entries(url, webpage, video_id, m3u8_id='hls') if entries: |