aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/extractor/generic.py
diff options
context:
space:
mode:
authorTom-Oliver Heidel <github@tom-oliver.eu>2020-11-30 04:07:22 +0100
committerGitHub <noreply@github.com>2020-11-30 04:07:22 +0100
commite8d46fc979eb17856a10dd91024c7cee7ae3a397 (patch)
tree3d32dc25a663f4e61fc28860acda67c7a425cb7a /youtube_dlc/extractor/generic.py
parent929576bb9e4aa31f0516f1437d2ae762afdd9f2c (diff)
parentb662fc8d2033c615ffbdd3b51123b446c03255e8 (diff)
downloadhypervideo-pre-e8d46fc979eb17856a10dd91024c7cee7ae3a397.tar.lz
hypervideo-pre-e8d46fc979eb17856a10dd91024c7cee7ae3a397.tar.xz
hypervideo-pre-e8d46fc979eb17856a10dd91024c7cee7ae3a397.zip
Merge pull request #143 from nixxo/gedi
[Gedi] Add new extractor
Diffstat (limited to 'youtube_dlc/extractor/generic.py')
-rw-r--r--youtube_dlc/extractor/generic.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/generic.py b/youtube_dlc/extractor/generic.py
index 74760a180..e5d29f316 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 .gedi import GediEmbedsIE
from .rcs import RCSEmbedsIE
from .bitchute import BitChuteIE
@@ -3215,6 +3216,11 @@ class GenericIE(InfoExtractor):
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())
+
rcs_urls = RCSEmbedsIE._extract_urls(webpage)
if rcs_urls:
return self.playlist_from_matches(