c3160df1e2a0e8e456f8d7f573eb71e9cd100b28
[youtube-dl] / youtube_dl / extractor / __init__.py
1 from .academicearth import AcademicEarthCourseIE
2 from .addanime import AddAnimeIE
3 from .aftonbladet import AftonbladetIE
4 from .anitube import AnitubeIE
5 from .aol import AolIE
6 from .aparat import AparatIE
7 from .appletrailers import AppleTrailersIE
8 from .archiveorg import ArchiveOrgIE
9 from .ard import ARDIE
10 from .arte import (
11     ArteTvIE,
12     ArteTVPlus7IE,
13     ArteTVCreativeIE,
14     ArteTVConcertIE,
15     ArteTVFutureIE,
16     ArteTVDDCIE,
17     ArteTVEmbedIE,
18 )
19 from .auengine import AUEngineIE
20 from .bambuser import BambuserIE, BambuserChannelIE
21 from .bandcamp import BandcampIE, BandcampAlbumIE
22 from .bbccouk import BBCCoUkIE
23 from .bilibili import BiliBiliIE
24 from .blinkx import BlinkxIE
25 from .bliptv import BlipTVIE, BlipTVUserIE
26 from .bloomberg import BloombergIE
27 from .br import BRIE
28 from .breakcom import BreakIE
29 from .brightcove import BrightcoveIE
30 from .byutv import BYUtvIE
31 from .c56 import C56IE
32 from .canal13cl import Canal13clIE
33 from .canalplus import CanalplusIE
34 from .canalc2 import Canalc2IE
35 from .cbs import CBSIE
36 from .cbsnews import CBSNewsIE
37 from .ceskatelevize import CeskaTelevizeIE
38 from .channel9 import Channel9IE
39 from .chilloutzone import ChilloutzoneIE
40 from .cinemassacre import CinemassacreIE
41 from .clipfish import ClipfishIE
42 from .cliphunter import CliphunterIE
43 from .clipsyndicate import ClipsyndicateIE
44 from .clubic import ClubicIE
45 from .cmt import CMTIE
46 from .cnet import CNETIE
47 from .cnn import (
48     CNNIE,
49     CNNBlogsIE,
50 )
51 from .collegehumor import CollegeHumorIE
52 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
53 from .condenast import CondeNastIE
54 from .criterion import CriterionIE
55 from .crunchyroll import CrunchyrollIE
56 from .cspan import CSpanIE
57 from .d8 import D8IE
58 from .dailymotion import (
59     DailymotionIE,
60     DailymotionPlaylistIE,
61     DailymotionUserIE,
62 )
63 from .daum import DaumIE
64 from .dotsub import DotsubIE
65 from .dreisat import DreiSatIE
66 from .defense import DefenseGouvFrIE
67 from .discovery import DiscoveryIE
68 from .divxstage import DivxStageIE
69 from .dropbox import DropboxIE
70 from .ebaumsworld import EbaumsWorldIE
71 from .ehow import EHowIE
72 from .eighttracks import EightTracksIE
73 from .eitb import EitbIE
74 from .elpais import ElPaisIE
75 from .empflix import EmpflixIE
76 from .engadget import EngadgetIE
77 from .escapist import EscapistIE
78 from .everyonesmixtape import EveryonesMixtapeIE
79 from .exfm import ExfmIE
80 from .extremetube import ExtremeTubeIE
81 from .facebook import FacebookIE
82 from .faz import FazIE
83 from .fc2 import FC2IE
84 from .firstpost import FirstpostIE
85 from .firsttv import FirstTVIE
86 from .fivemin import FiveMinIE
87 from .fktv import (
88     FKTVIE,
89     FKTVPosteckeIE,
90 )
91 from .flickr import FlickrIE
92 from .fourtube import FourTubeIE
93 from .franceculture import FranceCultureIE
94 from .franceinter import FranceInterIE
95 from .francetv import (
96     PluzzIE,
97     FranceTvInfoIE,
98     FranceTVIE,
99     GenerationQuoiIE,
100     CultureboxIE,
101 )
102 from .freesound import FreesoundIE
103 from .freespeech import FreespeechIE
104 from .funnyordie import FunnyOrDieIE
105 from .gamekings import GamekingsIE
106 from .gamespot import GameSpotIE
107 from .gametrailers import GametrailersIE
108 from .gdcvault import GDCVaultIE
109 from .generic import GenericIE
110 from .googleplus import GooglePlusIE
111 from .googlesearch import GoogleSearchIE
112 from .gorillavid import GorillaVidIE
113 from .hark import HarkIE
114 from .helsinki import HelsinkiIE
115 from .hentaistigma import HentaiStigmaIE
116 from .hotnewhiphop import HotNewHipHopIE
117 from .howcast import HowcastIE
118 from .huffpost import HuffPostIE
119 from .hypem import HypemIE
120 from .iconosquare import IconosquareIE
121 from .ign import IGNIE, OneUPIE
122 from .imdb import (
123     ImdbIE,
124     ImdbListIE
125 )
126 from .ina import InaIE
127 from .infoq import InfoQIE
128 from .instagram import InstagramIE, InstagramUserIE
129 from .internetvideoarchive import InternetVideoArchiveIE
130 from .iprima import IPrimaIE
131 from .ivi import (
132     IviIE,
133     IviCompilationIE
134 )
135 from .jadorecettepub import JadoreCettePubIE
136 from .jeuxvideo import JeuxVideoIE
137 from .jukebox import JukeboxIE
138 from .justintv import JustinTVIE
139 from .jpopsukitv import JpopsukiIE
140 from .kankan import KankanIE
141 from .keezmovies import KeezMoviesIE
142 from .khanacademy import KhanAcademyIE
143 from .kickstarter import KickStarterIE
144 from .keek import KeekIE
145 from .kontrtube import KontrTubeIE
146 from .ku6 import Ku6IE
147 from .la7 import LA7IE
148 from .lifenews import LifeNewsIE
149 from .liveleak import LiveLeakIE
150 from .livestream import LivestreamIE, LivestreamOriginalIE
151 from .lynda import (
152     LyndaIE,
153     LyndaCourseIE
154 )
155 from .m6 import M6IE
156 from .macgamestore import MacGameStoreIE
157 from .mailru import MailRuIE
158 from .malemotion import MalemotionIE
159 from .mdr import MDRIE
160 from .metacafe import MetacafeIE
161 from .metacritic import MetacriticIE
162 from .mit import TechTVMITIE, MITIE, OCWMITIE
163 from .mixcloud import MixcloudIE
164 from .mpora import MporaIE
165 from .mofosex import MofosexIE
166 from .mooshare import MooshareIE
167 from .morningstar import MorningstarIE
168 from .motorsport import MotorsportIE
169 from .moviezine import MoviezineIE
170 from .movshare import MovShareIE
171 from .mtv import (
172     MTVIE,
173     MTVServicesEmbeddedIE,
174     MTVIggyIE,
175 )
176 from .musicplayon import MusicPlayOnIE
177 from .muzu import MuzuTVIE
178 from .myspace import MySpaceIE
179 from .myspass import MySpassIE
180 from .myvideo import MyVideoIE
181 from .naver import NaverIE
182 from .nba import NBAIE
183 from .nbc import (
184     NBCIE,
185     NBCNewsIE,
186 )
187 from .ndr import NDRIE
188 from .ndtv import NDTVIE
189 from .newgrounds import NewgroundsIE
190 from .newstube import NewstubeIE
191 from .nfb import NFBIE
192 from .nhl import NHLIE, NHLVideocenterIE
193 from .niconico import NiconicoIE
194 from .ninegag import NineGagIE
195 from .noco import NocoIE
196 from .normalboots import NormalbootsIE
197 from .novamov import NovaMovIE
198 from .nowness import NownessIE
199 from .nowvideo import NowVideoIE
200 from .nrk import (
201     NRKIE,
202     NRKTVIE,
203 )
204 from .ntv import NTVIE
205 from .nytimes import NYTimesIE
206 from .nuvid import NuvidIE
207 from .oe1 import OE1IE
208 from .ooyala import OoyalaIE
209 from .orf import ORFIE
210 from .parliamentliveuk import ParliamentLiveUKIE
211 from .pbs import PBSIE
212 from .photobucket import PhotobucketIE
213 from .playvid import PlayvidIE
214 from .podomatic import PodomaticIE
215 from .pornhd import PornHdIE
216 from .pornhub import PornHubIE
217 from .pornotube import PornotubeIE
218 from .prosiebensat1 import ProSiebenSat1IE
219 from .pyvideo import PyvideoIE
220 from .radiofrance import RadioFranceIE
221 from .rai import RaiIE
222 from .rbmaradio import RBMARadioIE
223 from .redtube import RedTubeIE
224 from .ringtv import RingTVIE
225 from .ro220 import Ro220IE
226 from .rottentomatoes import RottenTomatoesIE
227 from .roxwel import RoxwelIE
228 from .rtbf import RTBFIE
229 from .rtlnow import RTLnowIE
230 from .rts import RTSIE
231 from .rtve import RTVEALaCartaIE
232 from .rutube import (
233     RutubeIE,
234     RutubeChannelIE,
235     RutubeMovieIE,
236     RutubePersonIE,
237 )
238 from .rutv import RUTVIE
239 from .savefrom import SaveFromIE
240 from .scivee import SciVeeIE
241 from .servingsys import ServingSysIE
242 from .sina import SinaIE
243 from .slideshare import SlideshareIE
244 from .slutload import SlutloadIE
245 from .smotri import (
246     SmotriIE,
247     SmotriCommunityIE,
248     SmotriUserIE,
249     SmotriBroadcastIE,
250 )
251 from .sohu import SohuIE
252 from .soundcloud import (
253     SoundcloudIE,
254     SoundcloudSetIE,
255     SoundcloudUserIE,
256     SoundcloudPlaylistIE
257 )
258 from .southparkstudios import (
259     SouthParkStudiosIE,
260     SouthparkDeIE,
261 )
262 from .space import SpaceIE
263 from .spankwire import SpankwireIE
264 from .spiegel import SpiegelIE
265 from .spiegeltv import SpiegeltvIE
266 from .spike import SpikeIE
267 from .stanfordoc import StanfordOpenClassroomIE
268 from .steam import SteamIE
269 from .streamcloud import StreamcloudIE
270 from .streamcz import StreamCZIE
271 from .swrmediathek import SWRMediathekIE
272 from .syfy import SyfyIE
273 from .sztvhu import SztvHuIE
274 from .tagesschau import TagesschauIE
275 from .teachertube import (
276     TeacherTubeIE,
277     TeacherTubeClassroomIE,
278 )
279 from .teachingchannel import TeachingChannelIE
280 from .teamcoco import TeamcocoIE
281 from .techtalks import TechTalksIE
282 from .ted import TEDIE
283 from .testurl import TestURLIE
284 from .tf1 import TF1IE
285 from .theplatform import ThePlatformIE
286 from .thisav import ThisAVIE
287 from .tinypic import TinyPicIE
288 from .tlc import TlcIE, TlcDeIE
289 from .toutv import TouTvIE
290 from .toypics import ToypicsUserIE, ToypicsIE
291 from .traileraddict import TrailerAddictIE
292 from .trilulilu import TriluliluIE
293 from .trutube import TruTubeIE
294 from .tube8 import Tube8IE
295 from .tudou import TudouIE
296 from .tumblr import TumblrIE
297 from .tutv import TutvIE
298 from .tvigle import TvigleIE
299 from .tvp import TvpIE
300 from .udemy import (
301     UdemyIE,
302     UdemyCourseIE
303 )
304 from .unistra import UnistraIE
305 from .urort import UrortIE
306 from .ustream import UstreamIE, UstreamChannelIE
307 from .vbox7 import Vbox7IE
308 from .veehd import VeeHDIE
309 from .veoh import VeohIE
310 from .vesti import VestiIE
311 from .vevo import VevoIE
312 from .vh1 import VH1IE
313 from .viddler import ViddlerIE
314 from .videobam import VideoBamIE
315 from .videodetective import VideoDetectiveIE
316 from .videolecturesnet import VideoLecturesNetIE
317 from .videofyme import VideofyMeIE
318 from .videopremium import VideoPremiumIE
319 from .videott import VideoTtIE
320 from .videoweed import VideoWeedIE
321 from .vimeo import (
322     VimeoIE,
323     VimeoChannelIE,
324     VimeoUserIE,
325     VimeoAlbumIE,
326     VimeoGroupsIE,
327     VimeoReviewIE,
328     VimeoWatchLaterIE,
329 )
330 from .vine import (
331     VineIE,
332     VineUserIE,
333 )
334 from .viki import VikiIE
335 from .vk import VKIE
336 from .vube import VubeIE
337 from .vuclip import VuClipIE
338 from .vulture import VultureIE
339 from .washingtonpost import WashingtonPostIE
340 from .wat import WatIE
341 from .wdr import (
342     WDRIE,
343     WDRMobileIE,
344     WDRMausIE,
345 )
346 from .weibo import WeiboIE
347 from .wimp import WimpIE
348 from .wistia import WistiaIE
349 from .worldstarhiphop import WorldStarHipHopIE
350 from .wrzuta import WrzutaIE
351 from .xbef import XBefIE
352 from .xhamster import XHamsterIE
353 from .xnxx import XNXXIE
354 from .xvideos import XVideosIE
355 from .xtube import XTubeUserIE, XTubeIE
356 from .yahoo import (
357     YahooIE,
358     YahooNewsIE,
359     YahooSearchIE,
360 )
361 from .youjizz import YouJizzIE
362 from .youku import YoukuIE
363 from .youporn import YouPornIE
364 from .youtube import (
365     YoutubeIE,
366     YoutubeChannelIE,
367     YoutubeFavouritesIE,
368     YoutubeHistoryIE,
369     YoutubePlaylistIE,
370     YoutubeRecommendedIE,
371     YoutubeSearchDateIE,
372     YoutubeSearchIE,
373     YoutubeSearchURLIE,
374     YoutubeShowIE,
375     YoutubeSubscriptionsIE,
376     YoutubeTopListIE,
377     YoutubeTruncatedURLIE,
378     YoutubeUserIE,
379     YoutubeWatchLaterIE,
380 )
381 from .zdf import ZDFIE
382
383
384 _ALL_CLASSES = [
385     klass
386     for name, klass in globals().items()
387     if name.endswith('IE') and name != 'GenericIE'
388 ]
389 _ALL_CLASSES.append(GenericIE)
390
391
392 def gen_extractors():
393     """ Return a list of an instance of every supported extractor.
394     The order does matter; the first extractor matched is the one handling the URL.
395     """
396     return [klass() for klass in _ALL_CLASSES]
397
398
399 def get_info_extractor(ie_name):
400     """Returns the info extractor class with the given ie_name"""
401     return globals()[ie_name+'IE']