]> jfr.im git - yt-dlp.git/blame - youtube_dl/extractor/__init__.py
[youtube] Add and extractor for the subscriptions feed (closes #498)
[yt-dlp.git] / youtube_dl / extractor / __init__.py
CommitLineData
c59b4aae
PH
1
2from .ard import ARDIE
3from .arte import ArteTvIE
d798e1c7 4from .auengine import AUEngineIE
c59b4aae
PH
5from .bandcamp import BandcampIE
6from .bliptv import BlipTVIE, BlipTVUserIE
825e0984 7from .breakcom import BreakIE
fbaaad49 8from .brightcove import BrightcoveIE
c59b4aae 9from .collegehumor import CollegeHumorIE
318452bc 10from .comedycentral import ComedyCentralIE
aa0c8739 11from .cspan import CSpanIE
c59b4aae
PH
12from .dailymotion import DailymotionIE
13from .depositfiles import DepositFilesIE
14from .eighttracks import EightTracksIE
15from .escapist import EscapistIE
16from .facebook import FacebookIE
17from .flickr import FlickrIE
18from .funnyordie import FunnyOrDieIE
bf64ff72 19from .gamespot import GameSpotIE
c59b4aae
PH
20from .gametrailers import GametrailersIE
21from .generic import GenericIE
22from .googleplus import GooglePlusIE
23from .googlesearch import GoogleSearchIE
5b66de88 24from .hotnewhiphop import HotNewHipHopIE
c59b4aae
PH
25from .howcast import HowcastIE
26from .hypem import HypemIE
27from .ina import InaIE
28from .infoq import InfoQIE
59fc531f 29from .instagram import InstagramIE
28ef06f7 30from .jukebox import JukeboxIE
318452bc 31from .justintv import JustinTVIE
c59b4aae
PH
32from .keek import KeekIE
33from .liveleak import LiveLeakIE
34from .metacafe import MetacafeIE
35from .mixcloud import MixcloudIE
36from .mtv import MTVIE
37from .myspass import MySpassIE
38from .myvideo import MyVideoIE
39from .nba import NBAIE
c59b4aae
PH
40from .photobucket import PhotobucketIE
41from .pornotube import PornotubeIE
42from .rbmaradio import RBMARadioIE
43from .redtube import RedTubeIE
f46d31f9 44from .ringtv import RingTVIE
c59b4aae
PH
45from .soundcloud import SoundcloudIE, SoundcloudSetIE
46from .spiegel import SpiegelIE
47from .stanfordoc import StanfordOpenClassroomIE
318452bc 48from .statigram import StatigramIE
c59b4aae
PH
49from .steam import SteamIE
50from .teamcoco import TeamcocoIE
51from .ted import TEDIE
705f6f35 52from .tf1 import TF1IE
887a2279 53from .traileraddict import TrailerAddictIE
318452bc 54from .tudou import TudouIE
c59b4aae 55from .tumblr import TumblrIE
9afb1afc 56from .tutv import TutvIE
c59b4aae
PH
57from .ustream import UstreamIE
58from .vbox7 import Vbox7IE
70d1924f 59from .vevo import VevoIE
c59b4aae
PH
60from .vimeo import VimeoIE
61from .vine import VineIE
705f6f35 62from .wat import WatIE
405ec05c 63from .wimp import WimpIE
c59b4aae 64from .worldstarhiphop import WorldStarHipHopIE
c59b4aae 65from .xhamster import XHamsterIE
318452bc 66from .xnxx import XNXXIE
c59b4aae
PH
67from .xvideos import XVideosIE
68from .yahoo import YahooIE, YahooSearchIE
69from .youjizz import YouJizzIE
70from .youku import YoukuIE
71from .youporn import YouPornIE
04cc9617
JMF
72from .youtube import (
73 YoutubeIE,
74 YoutubePlaylistIE,
75 YoutubeSearchIE,
76 YoutubeUserIE,
77 YoutubeChannelIE,
78 YoutubeShowIE,
79 YoutubeSubscriptionsIE,
80)
c59b4aae 81from .zdf import ZDFIE
318452bc 82
f46d31f9 83
1f0483b4
PH
84_ALL_CLASSES = [
85 klass
86 for name, klass in globals().items()
87 if name.endswith('IE') and name != 'GenericIE'
88]
89_ALL_CLASSES.append(GenericIE)
f9c6cbf0
PH
90
91def gen_extractors():
92 """ Return a list of an instance of every supported extractor.
93 The order does matter; the first extractor matched is the one handling the URL.
94 """
1f0483b4 95 return [klass() for klass in _ALL_CLASSES]
f9c6cbf0
PH
96
97def get_info_extractor(ie_name):
98 """Returns the info extractor class with the given ie_name"""
99 return globals()[ie_name+'IE']