diff options
author | Tom-Oliver Heidel <github@tom-oliver.eu> | 2020-11-30 02:48:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 02:48:29 +0100 |
commit | 7dde463e86e03570b36fb59590b59f62bf9af2fa (patch) | |
tree | 800bb098b9f0229afb8ebca03d3cc52eaa2a54f8 /youtube_dlc/extractor/generic.py | |
parent | e29288d667a4ede4339f00313f7d2b7f00fd1281 (diff) | |
parent | 9e4043faa99609ac16d279a5f8d5fc22b23f0c8e (diff) | |
download | hypervideo-pre-7dde463e86e03570b36fb59590b59f62bf9af2fa.tar.lz hypervideo-pre-7dde463e86e03570b36fb59590b59f62bf9af2fa.tar.xz hypervideo-pre-7dde463e86e03570b36fb59590b59f62bf9af2fa.zip |
Merge pull request #144 from nixxo/rcs
[Rcs] Add new extractor
Diffstat (limited to 'youtube_dlc/extractor/generic.py')
-rw-r--r-- | youtube_dlc/extractor/generic.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/generic.py b/youtube_dlc/extractor/generic.py index 7711de01b..74760a180 100644 --- a/youtube_dlc/extractor/generic.py +++ b/youtube_dlc/extractor/generic.py @@ -120,6 +120,7 @@ from .expressen import ExpressenIE from .zype import ZypeIE from .odnoklassniki import OdnoklassnikiIE from .kinja import KinjaEmbedIE +from .rcs import RCSEmbedsIE from .bitchute import BitChuteIE @@ -3213,6 +3214,12 @@ class GenericIE(InfoExtractor): return self.playlist_from_matches( zype_urls, video_id, video_title, ie=ZypeIE.ie_key()) + # Look for RCS media group embeds + rcs_urls = RCSEmbedsIE._extract_urls(webpage) + if rcs_urls: + return self.playlist_from_matches( + rcs_urls, video_id, video_title, ie=RCSEmbedsIE.ie_key()) + bitchute_urls = BitChuteIE._extract_urls(webpage) if bitchute_urls: return self.playlist_from_matches( |