diff options
author | nixxo <nixxo@protonmail.com> | 2021-03-11 08:58:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 13:28:51 +0530 |
commit | e4edeb6226e2ba1433e562f52fa37b00e3da1a17 (patch) | |
tree | d37718c52e8d7665207933549a8de67182e5568a /yt_dlp/extractor/generic.py | |
parent | d488e254d92c4dd8f375527c364f5bd0ea62aa04 (diff) | |
download | hypervideo-pre-e4edeb6226e2ba1433e562f52fa37b00e3da1a17.tar.lz hypervideo-pre-e4edeb6226e2ba1433e562f52fa37b00e3da1a17.tar.xz hypervideo-pre-e4edeb6226e2ba1433e562f52fa37b00e3da1a17.zip |
[wimtv] Add extractor (#161)
Added support for VODs, live and embeds
Authored by: nixxo
Diffstat (limited to 'yt_dlp/extractor/generic.py')
-rw-r--r-- | yt_dlp/extractor/generic.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/yt_dlp/extractor/generic.py b/yt_dlp/extractor/generic.py index a3a8f6b0d..cdd773477 100644 --- a/yt_dlp/extractor/generic.py +++ b/yt_dlp/extractor/generic.py @@ -134,6 +134,7 @@ from .rumble import RumbleEmbedIE from .arcpublishing import ArcPublishingIE from .medialaan import MedialaanIE from .simplecast import SimplecastIE +from .wimtv import WimTVIE class GenericIE(InfoExtractor): @@ -2250,6 +2251,15 @@ class GenericIE(InfoExtractor): }, 'playlist_mincount': 52, }, + { + # WimTv embed player + 'url': 'http://www.msmotor.tv/wearefmi-pt-2-2021/', + 'info_dict': { + 'id': 'wearefmi-pt-2-2021', + 'title': '#WEAREFMI – PT.2 – 2021 – MsMotorTV', + }, + 'playlist_count': 1, + }, ] def report_following_redirect(self, new_url): @@ -3350,6 +3360,11 @@ class GenericIE(InfoExtractor): return self.playlist_from_matches( rcs_urls, video_id, video_title, ie=RCSEmbedsIE.ie_key()) + wimtv_urls = WimTVIE._extract_urls(webpage) + if wimtv_urls: + return self.playlist_from_matches( + wimtv_urls, video_id, video_title, ie=WimTVIE.ie_key()) + bitchute_urls = BitChuteIE._extract_urls(webpage) if bitchute_urls: return self.playlist_from_matches( |