aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/extractor/generic.py
diff options
context:
space:
mode:
authornixxo <c.nixxo@gmail.com>2020-11-09 09:16:37 +0100
committernixxo <c.nixxo@gmail.com>2020-11-09 09:16:37 +0100
commit902784a2a9830f999a7d275b374952fc44bbbc02 (patch)
treebf3fec752ddfcd66bbca4dba28479206f7122003 /youtube_dlc/extractor/generic.py
parent165ce9f7738820fc0b662774d120149229c31ec1 (diff)
downloadhypervideo-pre-902784a2a9830f999a7d275b374952fc44bbbc02.tar.lz
hypervideo-pre-902784a2a9830f999a7d275b374952fc44bbbc02.tar.xz
hypervideo-pre-902784a2a9830f999a7d275b374952fc44bbbc02.zip
[gedi] added huffingtonpost, added embeds
Diffstat (limited to 'youtube_dlc/extractor/generic.py')
-rw-r--r--youtube_dlc/extractor/generic.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/generic.py b/youtube_dlc/extractor/generic.py
index aba06b328..3fab929a8 100644
--- a/youtube_dlc/extractor/generic.py
+++ b/youtube_dlc/extractor/generic.py
@@ -119,6 +119,7 @@ from .expressen import ExpressenIE
from .zype import ZypeIE
from .odnoklassniki import OdnoklassnikiIE
from .kinja import KinjaEmbedIE
+from .gedi import GediEmbedsIE
class GenericIE(InfoExtractor):
@@ -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
+ gedi_urls = GediEmbedsIE._extract_urls(webpage)
+ if gedi_urls:
+ return self.playlist_from_matches(
+ gedi_urls, video_id, video_title, ie=GediEmbedsIE.ie_key())
+
# Look for HTML5 media
entries = self._parse_html5_media_entries(url, webpage, video_id, m3u8_id='hls')
if entries: