diff options
Diffstat (limited to 'youtube_dl/extractor/generic.py')
| -rw-r--r-- | youtube_dl/extractor/generic.py | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 6c0f772ac..d71cb9050 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -111,6 +111,7 @@ from .cloudflarestream import CloudflareStreamIE  from .peertube import PeerTubeIE  from .indavideo import IndavideoEmbedIE  from .apa import APAIE +from .foxnews import FoxNewsIE  class GenericIE(InfoExtractor): @@ -3091,6 +3092,11 @@ class GenericIE(InfoExtractor):              return self.playlist_from_matches(                  apa_urls, video_id, video_title, ie=APAIE.ie_key()) +        foxnews_urls = FoxNewsIE._extract_urls(webpage) +        if foxnews_urls: +            return self.playlist_from_matches( +                foxnews_urls, video_id, video_title, ie=FoxNewsIE.ie_key()) +          sharevideos_urls = [mobj.group('url') for mobj in re.finditer(              r'<iframe[^>]+?\bsrc\s*=\s*(["\'])(?P<url>(?:https?:)?//embed\.share-videos\.se/auto/embed/\d+\?.*?\buid=\d+.*?)\1',              webpage)] | 
