Skip to content

A feature-rich command-line audio/video downloader

Merge branch 'master' into rcs

Tom-Oliver Heidel9e4043faa996
diff --cc youtube_dlc/extractor/generic.py
index 1641934f48,7711de01b7..74760a180b
--- a/youtube_dlc/extractor/generic.py
+++ b/youtube_dlc/extractor/generic.py
@@@ -119,7 -120,7 +120,8 @@@ from .expressen import ExpressenI
from .zype import ZypeIE
from .odnoklassniki import OdnoklassnikiIE
from .kinja import KinjaEmbedIE
+from .rcs import RCSEmbedsIE
+ from .bitchute import BitChuteIE
class GenericIE(InfoExtractor):
@@@ -3214,12 -3213,11 +3214,17 @@@
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(
+ bitchute_urls, video_id, video_title, ie=BitChuteIE.ie_key())
+
# Look for HTML5 media
entries = self._parse_html5_media_entries(url, webpage, video_id, m3u8_id='hls')
if entries: