]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/__init__.py
debian/control: Add recommends on aria2 | wget | curl to use external downloaders.
[youtubedl] / youtube_dl / extractor / __init__.py
1 from __future__ import unicode_literals
2
3 from .abc import ABCIE
4 from .abc7news import Abc7NewsIE
5 from .academicearth import AcademicEarthCourseIE
6 from .addanime import AddAnimeIE
7 from .adobetv import AdobeTVIE
8 from .adultswim import AdultSwimIE
9 from .aftonbladet import AftonbladetIE
10 from .aljazeera import AlJazeeraIE
11 from .alphaporno import AlphaPornoIE
12 from .anitube import AnitubeIE
13 from .anysex import AnySexIE
14 from .aol import AolIE
15 from .allocine import AllocineIE
16 from .aparat import AparatIE
17 from .appletrailers import AppleTrailersIE
18 from .archiveorg import ArchiveOrgIE
19 from .ard import ARDIE, ARDMediathekIE
20 from .arte import (
21 ArteTvIE,
22 ArteTVPlus7IE,
23 ArteTVCreativeIE,
24 ArteTVConcertIE,
25 ArteTVFutureIE,
26 ArteTVDDCIE,
27 ArteTVEmbedIE,
28 )
29 from .atresplayer import AtresPlayerIE
30 from .atttechchannel import ATTTechChannelIE
31 from .audiomack import AudiomackIE, AudiomackAlbumIE
32 from .azubu import AzubuIE
33 from .bambuser import BambuserIE, BambuserChannelIE
34 from .bandcamp import BandcampIE, BandcampAlbumIE
35 from .bbccouk import BBCCoUkIE
36 from .beeg import BeegIE
37 from .behindkink import BehindKinkIE
38 from .bet import BetIE
39 from .bild import BildIE
40 from .bilibili import BiliBiliIE
41 from .blinkx import BlinkxIE
42 from .bliptv import BlipTVIE, BlipTVUserIE
43 from .bloomberg import BloombergIE
44 from .bpb import BpbIE
45 from .br import BRIE
46 from .breakcom import BreakIE
47 from .brightcove import BrightcoveIE
48 from .buzzfeed import BuzzFeedIE
49 from .byutv import BYUtvIE
50 from .c56 import C56IE
51 from .canal13cl import Canal13clIE
52 from .canalplus import CanalplusIE
53 from .canalc2 import Canalc2IE
54 from .cbs import CBSIE
55 from .cbsnews import CBSNewsIE
56 from .ceskatelevize import CeskaTelevizeIE
57 from .channel9 import Channel9IE
58 from .chilloutzone import ChilloutzoneIE
59 from .cinchcast import CinchcastIE
60 from .clipfish import ClipfishIE
61 from .cliphunter import CliphunterIE
62 from .clipsyndicate import ClipsyndicateIE
63 from .cloudy import CloudyIE
64 from .clubic import ClubicIE
65 from .cmt import CMTIE
66 from .cnet import CNETIE
67 from .cnn import (
68 CNNIE,
69 CNNBlogsIE,
70 CNNArticleIE,
71 )
72 from .collegehumor import CollegeHumorIE
73 from .collegerama import CollegeRamaIE
74 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
75 from .comcarcoff import ComCarCoffIE
76 from .commonmistakes import CommonMistakesIE
77 from .condenast import CondeNastIE
78 from .cracked import CrackedIE
79 from .criterion import CriterionIE
80 from .crunchyroll import (
81 CrunchyrollIE,
82 CrunchyrollShowPlaylistIE
83 )
84 from .cspan import CSpanIE
85 from .ctsnews import CtsNewsIE
86 from .dailymotion import (
87 DailymotionIE,
88 DailymotionPlaylistIE,
89 DailymotionUserIE,
90 )
91 from .daum import DaumIE
92 from .dbtv import DBTVIE
93 from .dctp import DctpTvIE
94 from .deezer import DeezerPlaylistIE
95 from .dfb import DFBIE
96 from .dotsub import DotsubIE
97 from .dreisat import DreiSatIE
98 from .drbonanza import DRBonanzaIE
99 from .drtuber import DrTuberIE
100 from .drtv import DRTVIE
101 from .dvtv import DVTVIE
102 from .dump import DumpIE
103 from .defense import DefenseGouvFrIE
104 from .discovery import DiscoveryIE
105 from .divxstage import DivxStageIE
106 from .dropbox import DropboxIE
107 from .ebaumsworld import EbaumsWorldIE
108 from .echomsk import EchoMskIE
109 from .ehow import EHowIE
110 from .eighttracks import EightTracksIE
111 from .einthusan import EinthusanIE
112 from .eitb import EitbIE
113 from .ellentv import (
114 EllenTVIE,
115 EllenTVClipsIE,
116 )
117 from .elpais import ElPaisIE
118 from .empflix import EMPFlixIE
119 from .engadget import EngadgetIE
120 from .eporner import EpornerIE
121 from .eroprofile import EroProfileIE
122 from .escapist import EscapistIE
123 from .everyonesmixtape import EveryonesMixtapeIE
124 from .exfm import ExfmIE
125 from .expotv import ExpoTVIE
126 from .extremetube import ExtremeTubeIE
127 from .facebook import FacebookIE
128 from .faz import FazIE
129 from .fc2 import FC2IE
130 from .firedrive import FiredriveIE
131 from .firstpost import FirstpostIE
132 from .firsttv import FirstTVIE
133 from .fivemin import FiveMinIE
134 from .fktv import (
135 FKTVIE,
136 FKTVPosteckeIE,
137 )
138 from .flickr import FlickrIE
139 from .folketinget import FolketingetIE
140 from .fourtube import FourTubeIE
141 from .foxgay import FoxgayIE
142 from .foxnews import FoxNewsIE
143 from .franceculture import FranceCultureIE
144 from .franceinter import FranceInterIE
145 from .francetv import (
146 PluzzIE,
147 FranceTvInfoIE,
148 FranceTVIE,
149 GenerationQuoiIE,
150 CultureboxIE,
151 )
152 from .freesound import FreesoundIE
153 from .freespeech import FreespeechIE
154 from .freevideo import FreeVideoIE
155 from .funnyordie import FunnyOrDieIE
156 from .gamekings import GamekingsIE
157 from .gameone import (
158 GameOneIE,
159 GameOnePlaylistIE,
160 )
161 from .gamespot import GameSpotIE
162 from .gamestar import GameStarIE
163 from .gametrailers import GametrailersIE
164 from .gdcvault import GDCVaultIE
165 from .generic import GenericIE
166 from .giantbomb import GiantBombIE
167 from .giga import GigaIE
168 from .glide import GlideIE
169 from .globo import GloboIE
170 from .godtube import GodTubeIE
171 from .goldenmoustache import GoldenMoustacheIE
172 from .golem import GolemIE
173 from .googleplus import GooglePlusIE
174 from .googlesearch import GoogleSearchIE
175 from .gorillavid import GorillaVidIE
176 from .goshgay import GoshgayIE
177 from .grooveshark import GroovesharkIE
178 from .groupon import GrouponIE
179 from .hark import HarkIE
180 from .hearthisat import HearThisAtIE
181 from .heise import HeiseIE
182 from .hellporno import HellPornoIE
183 from .helsinki import HelsinkiIE
184 from .hentaistigma import HentaiStigmaIE
185 from .historicfilms import HistoricFilmsIE
186 from .hitbox import HitboxIE, HitboxLiveIE
187 from .hornbunny import HornBunnyIE
188 from .hostingbulk import HostingBulkIE
189 from .hotnewhiphop import HotNewHipHopIE
190 from .howcast import HowcastIE
191 from .howstuffworks import HowStuffWorksIE
192 from .huffpost import HuffPostIE
193 from .hypem import HypemIE
194 from .iconosquare import IconosquareIE
195 from .ign import IGNIE, OneUPIE
196 from .imdb import (
197 ImdbIE,
198 ImdbListIE
199 )
200 from .ina import InaIE
201 from .infoq import InfoQIE
202 from .instagram import InstagramIE, InstagramUserIE
203 from .internetvideoarchive import InternetVideoArchiveIE
204 from .iprima import IPrimaIE
205 from .ivi import (
206 IviIE,
207 IviCompilationIE
208 )
209 from .izlesene import IzleseneIE
210 from .jadorecettepub import JadoreCettePubIE
211 from .jeuxvideo import JeuxVideoIE
212 from .jove import JoveIE
213 from .jukebox import JukeboxIE
214 from .jpopsukitv import JpopsukiIE
215 from .kankan import KankanIE
216 from .karaoketv import KaraoketvIE
217 from .keezmovies import KeezMoviesIE
218 from .khanacademy import KhanAcademyIE
219 from .kickstarter import KickStarterIE
220 from .keek import KeekIE
221 from .kontrtube import KontrTubeIE
222 from .krasview import KrasViewIE
223 from .ku6 import Ku6IE
224 from .la7 import LA7IE
225 from .laola1tv import Laola1TvIE
226 from .lifenews import LifeNewsIE
227 from .liveleak import LiveLeakIE
228 from .livestream import (
229 LivestreamIE,
230 LivestreamOriginalIE,
231 LivestreamShortenerIE,
232 )
233 from .lnkgo import LnkGoIE
234 from .lrt import LRTIE
235 from .lynda import (
236 LyndaIE,
237 LyndaCourseIE
238 )
239 from .m6 import M6IE
240 from .macgamestore import MacGameStoreIE
241 from .mailru import MailRuIE
242 from .malemotion import MalemotionIE
243 from .mdr import MDRIE
244 from .metacafe import MetacafeIE
245 from .metacritic import MetacriticIE
246 from .mgoon import MgoonIE
247 from .minhateca import MinhatecaIE
248 from .ministrygrid import MinistryGridIE
249 from .mit import TechTVMITIE, MITIE, OCWMITIE
250 from .mitele import MiTeleIE
251 from .mixcloud import MixcloudIE
252 from .mlb import MLBIE
253 from .mpora import MporaIE
254 from .moevideo import MoeVideoIE
255 from .mofosex import MofosexIE
256 from .mojvideo import MojvideoIE
257 from .moniker import MonikerIE
258 from .mooshare import MooshareIE
259 from .morningstar import MorningstarIE
260 from .motherless import MotherlessIE
261 from .motorsport import MotorsportIE
262 from .movieclips import MovieClipsIE
263 from .moviezine import MoviezineIE
264 from .movshare import MovShareIE
265 from .mtv import (
266 MTVIE,
267 MTVServicesEmbeddedIE,
268 MTVIggyIE,
269 )
270 from .muenchentv import MuenchenTVIE
271 from .musicplayon import MusicPlayOnIE
272 from .musicvault import MusicVaultIE
273 from .muzu import MuzuTVIE
274 from .myspace import MySpaceIE, MySpaceAlbumIE
275 from .myspass import MySpassIE
276 from .myvideo import MyVideoIE
277 from .myvidster import MyVidsterIE
278 from .naver import NaverIE
279 from .nba import NBAIE
280 from .nbc import (
281 NBCIE,
282 NBCNewsIE,
283 )
284 from .ndr import NDRIE
285 from .ndtv import NDTVIE
286 from .netzkino import NetzkinoIE
287 from .nerdcubed import NerdCubedFeedIE
288 from .nerdist import NerdistIE
289 from .newgrounds import NewgroundsIE
290 from .newstube import NewstubeIE
291 from .nextmedia import (
292 NextMediaIE,
293 NextMediaActionNewsIE,
294 AppleDailyRealtimeNewsIE,
295 AppleDailyAnimationNewsIE
296 )
297 from .nfb import NFBIE
298 from .nfl import NFLIE
299 from .nhl import (
300 NHLIE,
301 NHLNewsIE,
302 NHLVideocenterIE,
303 )
304 from .niconico import NiconicoIE, NiconicoPlaylistIE
305 from .ninegag import NineGagIE
306 from .noco import NocoIE
307 from .normalboots import NormalbootsIE
308 from .nosvideo import NosVideoIE
309 from .novamov import NovaMovIE
310 from .nowness import NownessIE
311 from .nowvideo import NowVideoIE
312 from .npo import (
313 NPOIE,
314 NPOLiveIE,
315 TegenlichtVproIE,
316 )
317 from .nrk import (
318 NRKIE,
319 NRKTVIE,
320 )
321 from .ntvde import NTVDeIE
322 from .ntvru import NTVRuIE
323 from .nytimes import NYTimesIE
324 from .nuvid import NuvidIE
325 from .oktoberfesttv import OktoberfestTVIE
326 from .ooyala import OoyalaIE
327 from .openfilm import OpenFilmIE
328 from .orf import (
329 ORFTVthekIE,
330 ORFOE1IE,
331 ORFFM4IE,
332 )
333 from .parliamentliveuk import ParliamentLiveUKIE
334 from .patreon import PatreonIE
335 from .pbs import PBSIE
336 from .phoenix import PhoenixIE
337 from .photobucket import PhotobucketIE
338 from .planetaplay import PlanetaPlayIE
339 from .played import PlayedIE
340 from .playfm import PlayFMIE
341 from .playvid import PlayvidIE
342 from .podomatic import PodomaticIE
343 from .pornhd import PornHdIE
344 from .pornhub import PornHubIE
345 from .pornotube import PornotubeIE
346 from .pornoxo import PornoXOIE
347 from .promptfile import PromptFileIE
348 from .prosiebensat1 import ProSiebenSat1IE
349 from .pyvideo import PyvideoIE
350 from .quickvid import QuickVidIE
351 from .radiode import RadioDeIE
352 from .radiobremen import RadioBremenIE
353 from .radiofrance import RadioFranceIE
354 from .rai import RaiIE
355 from .rbmaradio import RBMARadioIE
356 from .redtube import RedTubeIE
357 from .restudy import RestudyIE
358 from .reverbnation import ReverbNationIE
359 from .ringtv import RingTVIE
360 from .ro220 import Ro220IE
361 from .rottentomatoes import RottenTomatoesIE
362 from .roxwel import RoxwelIE
363 from .rtbf import RTBFIE
364 from .rte import RteIE
365 from .rtlnl import RtlXlIE
366 from .rtlnow import RTLnowIE
367 from .rtl2 import RTL2IE
368 from .rtp import RTPIE
369 from .rts import RTSIE
370 from .rtve import RTVEALaCartaIE, RTVELiveIE
371 from .ruhd import RUHDIE
372 from .rutube import (
373 RutubeIE,
374 RutubeChannelIE,
375 RutubeEmbedIE,
376 RutubeMovieIE,
377 RutubePersonIE,
378 )
379 from .rutv import RUTVIE
380 from .sapo import SapoIE
381 from .savefrom import SaveFromIE
382 from .sbs import SBSIE
383 from .scivee import SciVeeIE
384 from .screencast import ScreencastIE
385 from .screencastomatic import ScreencastOMaticIE
386 from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
387 from .servingsys import ServingSysIE
388 from .sexu import SexuIE
389 from .sexykarma import SexyKarmaIE
390 from .shared import SharedIE
391 from .sharesix import ShareSixIE
392 from .sina import SinaIE
393 from .slideshare import SlideshareIE
394 from .slutload import SlutloadIE
395 from .smotri import (
396 SmotriIE,
397 SmotriCommunityIE,
398 SmotriUserIE,
399 SmotriBroadcastIE,
400 )
401 from .snotr import SnotrIE
402 from .sockshare import SockshareIE
403 from .sohu import SohuIE
404 from .soundcloud import (
405 SoundcloudIE,
406 SoundcloudSetIE,
407 SoundcloudUserIE,
408 SoundcloudPlaylistIE
409 )
410 from .soundgasm import SoundgasmIE
411 from .southpark import (
412 SouthParkIE,
413 SouthparkDeIE,
414 )
415 from .space import SpaceIE
416 from .spankwire import SpankwireIE
417 from .spiegel import SpiegelIE, SpiegelArticleIE
418 from .spiegeltv import SpiegeltvIE
419 from .spike import SpikeIE
420 from .sport5 import Sport5IE
421 from .sportbox import SportBoxIE
422 from .sportdeutschland import SportDeutschlandIE
423 from .srmediathek import SRMediathekIE
424 from .stanfordoc import StanfordOpenClassroomIE
425 from .steam import SteamIE
426 from .streamcloud import StreamcloudIE
427 from .streamcz import StreamCZIE
428 from .streetvoice import StreetVoiceIE
429 from .sunporno import SunPornoIE
430 from .swrmediathek import SWRMediathekIE
431 from .syfy import SyfyIE
432 from .sztvhu import SztvHuIE
433 from .tagesschau import TagesschauIE
434 from .tapely import TapelyIE
435 from .tass import TassIE
436 from .teachertube import (
437 TeacherTubeIE,
438 TeacherTubeUserIE,
439 )
440 from .teachingchannel import TeachingChannelIE
441 from .teamcoco import TeamcocoIE
442 from .techtalks import TechTalksIE
443 from .ted import TEDIE
444 from .telebruxelles import TeleBruxellesIE
445 from .telecinco import TelecincoIE
446 from .telemb import TeleMBIE
447 from .teletask import TeleTaskIE
448 from .tenplay import TenPlayIE
449 from .testurl import TestURLIE
450 from .testtube import TestTubeIE
451 from .tf1 import TF1IE
452 from .theonion import TheOnionIE
453 from .theplatform import ThePlatformIE
454 from .thesixtyone import TheSixtyOneIE
455 from .thisav import ThisAVIE
456 from .tinypic import TinyPicIE
457 from .tlc import TlcIE, TlcDeIE
458 from .tmz import TMZIE
459 from .tnaflix import TNAFlixIE
460 from .thvideo import (
461 THVideoIE,
462 THVideoPlaylistIE
463 )
464 from .toutv import TouTvIE
465 from .toypics import ToypicsUserIE, ToypicsIE
466 from .traileraddict import TrailerAddictIE
467 from .trilulilu import TriluliluIE
468 from .trutube import TruTubeIE
469 from .tube8 import Tube8IE
470 from .tudou import TudouIE
471 from .tumblr import TumblrIE
472 from .tunein import TuneInIE
473 from .turbo import TurboIE
474 from .tutv import TutvIE
475 from .tvigle import TvigleIE
476 from .tvp import TvpIE, TvpSeriesIE
477 from .tvplay import TVPlayIE
478 from .tweakers import TweakersIE
479 from .twentyfourvideo import TwentyFourVideoIE
480 from .twitch import (
481 TwitchVideoIE,
482 TwitchChapterIE,
483 TwitchVodIE,
484 TwitchProfileIE,
485 TwitchPastBroadcastsIE,
486 TwitchBookmarksIE,
487 TwitchStreamIE,
488 )
489 from .ubu import UbuIE
490 from .udemy import (
491 UdemyIE,
492 UdemyCourseIE
493 )
494 from .unistra import UnistraIE
495 from .urort import UrortIE
496 from .ustream import UstreamIE, UstreamChannelIE
497 from .vbox7 import Vbox7IE
498 from .veehd import VeeHDIE
499 from .veoh import VeohIE
500 from .vesti import VestiIE
501 from .vevo import VevoIE
502 from .vgtv import VGTVIE
503 from .vh1 import VH1IE
504 from .vice import ViceIE
505 from .viddler import ViddlerIE
506 from .videobam import VideoBamIE
507 from .videodetective import VideoDetectiveIE
508 from .videolecturesnet import VideoLecturesNetIE
509 from .videofyme import VideofyMeIE
510 from .videomega import VideoMegaIE
511 from .videopremium import VideoPremiumIE
512 from .videott import VideoTtIE
513 from .videoweed import VideoWeedIE
514 from .vidme import VidmeIE
515 from .vidzi import VidziIE
516 from .vier import VierIE, VierVideosIE
517 from .vimeo import (
518 VimeoIE,
519 VimeoAlbumIE,
520 VimeoChannelIE,
521 VimeoGroupsIE,
522 VimeoLikesIE,
523 VimeoReviewIE,
524 VimeoUserIE,
525 VimeoWatchLaterIE,
526 )
527 from .vimple import VimpleIE
528 from .vine import (
529 VineIE,
530 VineUserIE,
531 )
532 from .viki import VikiIE
533 from .vk import (
534 VKIE,
535 VKUserVideosIE,
536 )
537 from .vodlocker import VodlockerIE
538 from .vporn import VpornIE
539 from .vrt import VRTIE
540 from .vube import VubeIE
541 from .vuclip import VuClipIE
542 from .vulture import VultureIE
543 from .walla import WallaIE
544 from .washingtonpost import WashingtonPostIE
545 from .wat import WatIE
546 from .wayofthemaster import WayOfTheMasterIE
547 from .wdr import (
548 WDRIE,
549 WDRMobileIE,
550 WDRMausIE,
551 )
552 from .webofstories import WebOfStoriesIE
553 from .weibo import WeiboIE
554 from .wimp import WimpIE
555 from .wistia import WistiaIE
556 from .worldstarhiphop import WorldStarHipHopIE
557 from .wrzuta import WrzutaIE
558 from .wsj import WSJIE
559 from .xbef import XBefIE
560 from .xboxclips import XboxClipsIE
561 from .xhamster import XHamsterIE
562 from .xminus import XMinusIE
563 from .xnxx import XNXXIE
564 from .xvideos import XVideosIE
565 from .xtube import XTubeUserIE, XTubeIE
566 from .xuite import XuiteIE
567 from .xxxymovies import XXXYMoviesIE
568 from .yahoo import (
569 YahooIE,
570 YahooSearchIE,
571 )
572 from .yesjapan import YesJapanIE
573 from .ynet import YnetIE
574 from .youjizz import YouJizzIE
575 from .youku import YoukuIE
576 from .youporn import YouPornIE
577 from .yourupload import YourUploadIE
578 from .youtube import (
579 YoutubeIE,
580 YoutubeChannelIE,
581 YoutubeFavouritesIE,
582 YoutubeHistoryIE,
583 YoutubePlaylistIE,
584 YoutubeRecommendedIE,
585 YoutubeSearchDateIE,
586 YoutubeSearchIE,
587 YoutubeSearchURLIE,
588 YoutubeShowIE,
589 YoutubeSubscriptionsIE,
590 YoutubeTruncatedIDIE,
591 YoutubeTruncatedURLIE,
592 YoutubeUserIE,
593 YoutubeWatchLaterIE,
594 )
595 from .zdf import ZDFIE, ZDFChannelIE
596 from .zingmp3 import (
597 ZingMp3SongIE,
598 ZingMp3AlbumIE,
599 )
600
601 _ALL_CLASSES = [
602 klass
603 for name, klass in globals().items()
604 if name.endswith('IE') and name != 'GenericIE'
605 ]
606 _ALL_CLASSES.append(GenericIE)
607
608
609 def gen_extractors():
610 """ Return a list of an instance of every supported extractor.
611 The order does matter; the first extractor matched is the one handling the URL.
612 """
613 return [klass() for klass in _ALL_CLASSES]
614
615
616 def list_extractors(age_limit):
617 """
618 Return a list of extractors that are suitable for the given age,
619 sorted by extractor ID.
620 """
621
622 return sorted(
623 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
624 key=lambda ie: ie.IE_NAME.lower())
625
626
627 def get_info_extractor(ie_name):
628 """Returns the info extractor class with the given ie_name"""
629 return globals()[ie_name + 'IE']