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