Merge remote-tracking branch 'Fnordlab/chilloutzone'
[youtube-dl] / youtube_dl / extractor / __init__.py
1 from .academicearth import AcademicEarthCourseIE
2 from .addanime import AddAnimeIE
3 from .anitube import AnitubeIE
4 from .aparat import AparatIE
5 from .appletrailers import AppleTrailersIE
6 from .archiveorg import ArchiveOrgIE
7 from .ard import ARDIE
8 from .arte import (
9     ArteTvIE,
10     ArteTVPlus7IE,
11     ArteTVCreativeIE,
12     ArteTVFutureIE,
13     ArteTVDDCIE,
14 )
15 from .auengine import AUEngineIE
16 from .bambuser import BambuserIE, BambuserChannelIE
17 from .bandcamp import BandcampIE, BandcampAlbumIE
18 from .blinkx import BlinkxIE
19 from .bliptv import BlipTVIE, BlipTVUserIE
20 from .bloomberg import BloombergIE
21 from .breakcom import BreakIE
22 from .brightcove import BrightcoveIE
23 from .c56 import C56IE
24 from .canalplus import CanalplusIE
25 from .canalc2 import Canalc2IE
26 from .cbs import CBSIE
27 from .channel9 import Channel9IE
28 from .chilloutzone import ChilloutzoneIE
29 from .cinemassacre import CinemassacreIE
30 from .clipfish import ClipfishIE
31 from .cliphunter import CliphunterIE
32 from .clipsyndicate import ClipsyndicateIE
33 from .cmt import CMTIE
34 from .cnn import CNNIE
35 from .collegehumor import CollegeHumorIE
36 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
37 from .condenast import CondeNastIE
38 from .criterion import CriterionIE
39 from .crunchyroll import CrunchyrollIE
40 from .cspan import CSpanIE
41 from .d8 import D8IE
42 from .dailymotion import (
43     DailymotionIE,
44     DailymotionPlaylistIE,
45     DailymotionUserIE,
46 )
47 from .daum import DaumIE
48 from .depositfiles import DepositFilesIE
49 from .dotsub import DotsubIE
50 from .dreisat import DreiSatIE
51 from .defense import DefenseGouvFrIE
52 from .discovery import DiscoveryIE
53 from .dropbox import DropboxIE
54 from .ebaumsworld import EbaumsWorldIE
55 from .ehow import EHowIE
56 from .eighttracks import EightTracksIE
57 from .eitb import EitbIE
58 from .elpais import ElPaisIE
59 from .escapist import EscapistIE
60 from .everyonesmixtape import EveryonesMixtapeIE
61 from .exfm import ExfmIE
62 from .extremetube import ExtremeTubeIE
63 from .facebook import FacebookIE
64 from .faz import FazIE
65 from .firstpost import FirstpostIE
66 from .fktv import (
67     FKTVIE,
68     FKTVPosteckeIE,
69 )
70 from .flickr import FlickrIE
71 from .franceinter import FranceInterIE
72 from .francetv import (
73     PluzzIE,
74     FranceTvInfoIE,
75     FranceTVIE,
76     GenerationQuoiIE,
77     CultureboxIE,
78 )
79 from .freesound import FreesoundIE
80 from .freespeech import FreespeechIE
81 from .funnyordie import FunnyOrDieIE
82 from .gamekings import GamekingsIE
83 from .gamespot import GameSpotIE
84 from .gametrailers import GametrailersIE
85 from .generic import GenericIE
86 from .googleplus import GooglePlusIE
87 from .googlesearch import GoogleSearchIE
88 from .hark import HarkIE
89 from .hotnewhiphop import HotNewHipHopIE
90 from .howcast import HowcastIE
91 from .huffpost import HuffPostIE
92 from .hypem import HypemIE
93 from .ign import IGNIE, OneUPIE
94 from .imdb import (
95     ImdbIE,
96     ImdbListIE
97 )
98 from .ina import InaIE
99 from .infoq import InfoQIE
100 from .instagram import InstagramIE
101 from .internetvideoarchive import InternetVideoArchiveIE
102 from .iprima import IPrimaIE
103 from .ivi import (
104     IviIE,
105     IviCompilationIE
106 )
107 from .jeuxvideo import JeuxVideoIE
108 from .jukebox import JukeboxIE
109 from .justintv import JustinTVIE
110 from .jpopsukitv import JpopsukiIE
111 from .kankan import KankanIE
112 from .keezmovies import KeezMoviesIE
113 from .khanacademy import KhanAcademyIE
114 from .kickstarter import KickStarterIE
115 from .keek import KeekIE
116 from .la7 import LA7IE
117 from .lifenews import LifeNewsIE
118 from .liveleak import LiveLeakIE
119 from .livestream import LivestreamIE, LivestreamOriginalIE
120 from .lynda import (
121     LyndaIE,
122     LyndaCourseIE
123 )
124 from .m6 import M6IE
125 from .macgamestore import MacGameStoreIE
126 from .malemotion import MalemotionIE
127 from .mdr import MDRIE
128 from .metacafe import MetacafeIE
129 from .metacritic import MetacriticIE
130 from .mit import TechTVMITIE, MITIE
131 from .mixcloud import MixcloudIE
132 from .mpora import MporaIE
133 from .mofosex import MofosexIE
134 from .mooshare import MooshareIE
135 from .mtv import (
136     MTVIE,
137     MTVIggyIE,
138 )
139 from .muzu import MuzuTVIE
140 from .myspace import MySpaceIE
141 from .myspass import MySpassIE
142 from .myvideo import MyVideoIE
143 from .naver import NaverIE
144 from .nba import NBAIE
145 from .nbc import NBCNewsIE
146 from .ndr import NDRIE
147 from .ndtv import NDTVIE
148 from .newgrounds import NewgroundsIE
149 from .nfb import NFBIE
150 from .nhl import NHLIE, NHLVideocenterIE
151 from .niconico import NiconicoIE
152 from .ninegag import NineGagIE
153 from .normalboots import NormalbootsIE
154 from .novamov import NovamovIE
155 from .nowness import NownessIE
156 from .nowvideo import NowVideoIE
157 from .ooyala import OoyalaIE
158 from .orf import ORFIE
159 from .pbs import PBSIE
160 from .photobucket import PhotobucketIE
161 from .podomatic import PodomaticIE
162 from .pornhd import PornHdIE
163 from .pornhub import PornHubIE
164 from .pornotube import PornotubeIE
165 from .pyvideo import PyvideoIE
166 from .radiofrance import RadioFranceIE
167 from .rbmaradio import RBMARadioIE
168 from .redtube import RedTubeIE
169 from .ringtv import RingTVIE
170 from .ro220 import Ro220IE
171 from .rottentomatoes import RottenTomatoesIE
172 from .roxwel import RoxwelIE
173 from .rtlnow import RTLnowIE
174 from .rutube import (
175     RutubeIE,
176     RutubeChannelIE,
177     RutubeMovieIE,
178     RutubePersonIE,
179 )
180 from .servingsys import ServingSysIE
181 from .sina import SinaIE
182 from .slashdot import SlashdotIE
183 from .slideshare import SlideshareIE
184 from .smotri import (
185     SmotriIE,
186     SmotriCommunityIE,
187     SmotriUserIE,
188     SmotriBroadcastIE,
189 )
190 from .sohu import SohuIE
191 from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
192 from .southparkstudios import (
193     SouthParkStudiosIE,
194     SouthparkDeIE,
195 )
196 from .space import SpaceIE
197 from .spankwire import SpankwireIE
198 from .spiegel import SpiegelIE
199 from .spike import SpikeIE
200 from .stanfordoc import StanfordOpenClassroomIE
201 from .statigram import StatigramIE
202 from .steam import SteamIE
203 from .streamcloud import StreamcloudIE
204 from .sztvhu import SztvHuIE
205 from .teamcoco import TeamcocoIE
206 from .techtalks import TechTalksIE
207 from .ted import TEDIE
208 from .tf1 import TF1IE
209 from .theplatform import ThePlatformIE
210 from .thisav import ThisAVIE
211 from .tinypic import TinyPicIE
212 from .toutv import TouTvIE
213 from .traileraddict import TrailerAddictIE
214 from .trilulilu import TriluliluIE
215 from .tube8 import Tube8IE
216 from .tudou import TudouIE
217 from .tumblr import TumblrIE
218 from .tutv import TutvIE
219 from .tvp import TvpIE
220 from .unistra import UnistraIE
221 from .ustream import UstreamIE, UstreamChannelIE
222 from .vbox7 import Vbox7IE
223 from .veehd import VeeHDIE
224 from .veoh import VeohIE
225 from .vevo import VevoIE
226 from .vice import ViceIE
227 from .viddler import ViddlerIE
228 from .videodetective import VideoDetectiveIE
229 from .videofyme import VideofyMeIE
230 from .videopremium import VideoPremiumIE
231 from .vimeo import (
232     VimeoIE,
233     VimeoChannelIE,
234     VimeoUserIE,
235     VimeoAlbumIE,
236     VimeoGroupsIE,
237     VimeoReviewIE,
238 )
239 from .vine import VineIE
240 from .viki import VikiIE
241 from .vk import VKIE
242 from .vube import VubeIE
243 from .wat import WatIE
244 from .weibo import WeiboIE
245 from .wimp import WimpIE
246 from .wistia import WistiaIE
247 from .worldstarhiphop import WorldStarHipHopIE
248 from .xhamster import XHamsterIE
249 from .xnxx import XNXXIE
250 from .xvideos import XVideosIE
251 from .xtube import XTubeIE
252 from .yahoo import (
253     YahooIE,
254     YahooNewsIE,
255     YahooSearchIE,
256 )
257 from .youjizz import YouJizzIE
258 from .youku import YoukuIE
259 from .youporn import YouPornIE
260 from .youtube import (
261     YoutubeIE,
262     YoutubePlaylistIE,
263     YoutubeSearchIE,
264     YoutubeSearchDateIE,
265     YoutubeUserIE,
266     YoutubeChannelIE,
267     YoutubeShowIE,
268     YoutubeSubscriptionsIE,
269     YoutubeRecommendedIE,
270     YoutubeTruncatedURLIE,
271     YoutubeWatchLaterIE,
272     YoutubeFavouritesIE,
273     YoutubeHistoryIE,
274     YoutubeTopListIE,
275 )
276 from .zdf import ZDFIE
277
278
279 _ALL_CLASSES = [
280     klass
281     for name, klass in globals().items()
282     if name.endswith('IE') and name != 'GenericIE'
283 ]
284 _ALL_CLASSES.append(GenericIE)
285
286
287 def gen_extractors():
288     """ Return a list of an instance of every supported extractor.
289     The order does matter; the first extractor matched is the one handling the URL.
290     """
291     return [klass() for klass in _ALL_CLASSES]
292
293
294 def get_info_extractor(ie_name):
295     """Returns the info extractor class with the given ie_name"""
296     return globals()[ie_name+'IE']