1 from __future__ import unicode_literals
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 .aftenposten import AftenpostenIE
10 from .aftonbladet import AftonbladetIE
11 from .airmozilla import AirMozillaIE
12 from .aljazeera import AlJazeeraIE
13 from .alphaporno import AlphaPornoIE
14 from .anitube import AnitubeIE
15 from .anysex import AnySexIE
16 from .aol import AolIE
17 from .allocine import AllocineIE
18 from .aparat import AparatIE
19 from .appletrailers import AppleTrailersIE
20 from .archiveorg import ArchiveOrgIE
21 from .ard import ARDIE, ARDMediathekIE
31 from .atresplayer import AtresPlayerIE
32 from .atttechchannel import ATTTechChannelIE
33 from .audiomack import AudiomackIE, AudiomackAlbumIE
34 from .azubu import AzubuIE
35 from .bambuser import BambuserIE, BambuserChannelIE
36 from .bandcamp import BandcampIE, BandcampAlbumIE
37 from .bbccouk import BBCCoUkIE
38 from .beeg import BeegIE
39 from .behindkink import BehindKinkIE
40 from .beatportpro import BeatportProIE
41 from .bet import BetIE
42 from .bild import BildIE
43 from .bilibili import BiliBiliIE
44 from .blinkx import BlinkxIE
45 from .bliptv import BlipTVIE, BlipTVUserIE
46 from .bloomberg import BloombergIE
47 from .bpb import BpbIE
49 from .breakcom import BreakIE
50 from .brightcove import BrightcoveIE
51 from .buzzfeed import BuzzFeedIE
52 from .byutv import BYUtvIE
53 from .c56 import C56IE
54 from .camdemy import (
58 from .canal13cl import Canal13clIE
59 from .canalplus import CanalplusIE
60 from .canalc2 import Canalc2IE
61 from .cbs import CBSIE
62 from .cbsnews import CBSNewsIE
63 from .cbssports import CBSSportsIE
64 from .ccc import CCCIE
65 from .ceskatelevize import CeskaTelevizeIE
66 from .channel9 import Channel9IE
67 from .chilloutzone import ChilloutzoneIE
68 from .chirbit import (
72 from .cinchcast import CinchcastIE
73 from .clipfish import ClipfishIE
74 from .cliphunter import CliphunterIE
75 from .clipsyndicate import ClipsyndicateIE
76 from .cloudy import CloudyIE
77 from .clubic import ClubicIE
78 from .cmt import CMTIE
79 from .cnet import CNETIE
85 from .collegehumor import CollegeHumorIE
86 from .collegerama import CollegeRamaIE
87 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
88 from .comcarcoff import ComCarCoffIE
89 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
90 from .condenast import CondeNastIE
91 from .cracked import CrackedIE
92 from .criterion import CriterionIE
93 from .crunchyroll import (
95 CrunchyrollShowPlaylistIE
97 from .cspan import CSpanIE
98 from .ctsnews import CtsNewsIE
99 from .dailymotion import (
101 DailymotionPlaylistIE,
104 from .daum import DaumIE
105 from .dbtv import DBTVIE
106 from .dctp import DctpTvIE
107 from .deezer import DeezerPlaylistIE
108 from .dfb import DFBIE
109 from .dotsub import DotsubIE
110 from .dreisat import DreiSatIE
111 from .drbonanza import DRBonanzaIE
112 from .drtuber import DrTuberIE
113 from .drtv import DRTVIE
114 from .dvtv import DVTVIE
115 from .dump import DumpIE
116 from .defense import DefenseGouvFrIE
117 from .discovery import DiscoveryIE
118 from .divxstage import DivxStageIE
119 from .dropbox import DropboxIE
120 from .eagleplatform import EaglePlatformIE
121 from .ebaumsworld import EbaumsWorldIE
122 from .echomsk import EchoMskIE
123 from .ehow import EHowIE
124 from .eighttracks import EightTracksIE
125 from .einthusan import EinthusanIE
126 from .eitb import EitbIE
127 from .ellentv import (
131 from .elpais import ElPaisIE
132 from .embedly import EmbedlyIE
133 from .empflix import EMPFlixIE
134 from .engadget import EngadgetIE
135 from .eporner import EpornerIE
136 from .eroprofile import EroProfileIE
137 from .escapist import EscapistIE
138 from .everyonesmixtape import EveryonesMixtapeIE
139 from .exfm import ExfmIE
140 from .expotv import ExpoTVIE
141 from .extremetube import ExtremeTubeIE
142 from .facebook import FacebookIE
143 from .faz import FazIE
144 from .fc2 import FC2IE
145 from .firedrive import FiredriveIE
146 from .firstpost import FirstpostIE
147 from .firsttv import FirstTVIE
148 from .fivemin import FiveMinIE
153 from .flickr import FlickrIE
154 from .folketinget import FolketingetIE
155 from .footyroom import FootyRoomIE
156 from .fourtube import FourTubeIE
157 from .foxgay import FoxgayIE
158 from .foxnews import FoxNewsIE
159 from .franceculture import FranceCultureIE
160 from .franceinter import FranceInterIE
161 from .francetv import (
168 from .freesound import FreesoundIE
169 from .freespeech import FreespeechIE
170 from .freevideo import FreeVideoIE
171 from .funnyordie import FunnyOrDieIE
172 from .gamekings import GamekingsIE
173 from .gameone import (
177 from .gamespot import GameSpotIE
178 from .gamestar import GameStarIE
179 from .gametrailers import GametrailersIE
180 from .gazeta import GazetaIE
181 from .gdcvault import GDCVaultIE
182 from .generic import GenericIE
183 from .giantbomb import GiantBombIE
184 from .giga import GigaIE
185 from .glide import GlideIE
186 from .globo import GloboIE
187 from .godtube import GodTubeIE
188 from .goldenmoustache import GoldenMoustacheIE
189 from .golem import GolemIE
190 from .googleplus import GooglePlusIE
191 from .googlesearch import GoogleSearchIE
192 from .gorillavid import GorillaVidIE
193 from .goshgay import GoshgayIE
194 from .grooveshark import GroovesharkIE
195 from .groupon import GrouponIE
196 from .hark import HarkIE
197 from .hearthisat import HearThisAtIE
198 from .heise import HeiseIE
199 from .hellporno import HellPornoIE
200 from .helsinki import HelsinkiIE
201 from .hentaistigma import HentaiStigmaIE
202 from .historicfilms import HistoricFilmsIE
203 from .history import HistoryIE
204 from .hitbox import HitboxIE, HitboxLiveIE
205 from .hornbunny import HornBunnyIE
206 from .hostingbulk import HostingBulkIE
207 from .hotnewhiphop import HotNewHipHopIE
208 from .howcast import HowcastIE
209 from .howstuffworks import HowStuffWorksIE
210 from .huffpost import HuffPostIE
211 from .hypem import HypemIE
212 from .iconosquare import IconosquareIE
213 from .ign import IGNIE, OneUPIE
218 from .imgur import ImgurIE
219 from .ina import InaIE
220 from .infoq import InfoQIE
221 from .instagram import InstagramIE, InstagramUserIE
222 from .internetvideoarchive import InternetVideoArchiveIE
223 from .iprima import IPrimaIE
228 from .izlesene import IzleseneIE
229 from .jadorecettepub import JadoreCettePubIE
230 from .jeuxvideo import JeuxVideoIE
231 from .jove import JoveIE
232 from .jukebox import JukeboxIE
233 from .jpopsukitv import JpopsukiIE
234 from .kaltura import KalturaIE
235 from .kanalplay import KanalPlayIE
236 from .kankan import KankanIE
237 from .karaoketv import KaraoketvIE
238 from .keezmovies import KeezMoviesIE
239 from .khanacademy import KhanAcademyIE
240 from .kickstarter import KickStarterIE
241 from .keek import KeekIE
242 from .kontrtube import KontrTubeIE
243 from .krasview import KrasViewIE
244 from .ku6 import Ku6IE
245 from .la7 import LA7IE
246 from .laola1tv import Laola1TvIE
252 from .lifenews import LifeNewsIE
253 from .liveleak import LiveLeakIE
254 from .livestream import (
256 LivestreamOriginalIE,
257 LivestreamShortenerIE,
259 from .lnkgo import LnkGoIE
260 from .lrt import LRTIE
266 from .macgamestore import MacGameStoreIE
267 from .mailru import MailRuIE
268 from .malemotion import MalemotionIE
269 from .mdr import MDRIE
270 from .metacafe import MetacafeIE
271 from .metacritic import MetacriticIE
272 from .mgoon import MgoonIE
273 from .minhateca import MinhatecaIE
274 from .ministrygrid import MinistryGridIE
275 from .mit import TechTVMITIE, MITIE, OCWMITIE
276 from .mitele import MiTeleIE
277 from .mixcloud import MixcloudIE
278 from .mlb import MLBIE
279 from .mpora import MporaIE
280 from .moevideo import MoeVideoIE
281 from .mofosex import MofosexIE
282 from .mojvideo import MojvideoIE
283 from .moniker import MonikerIE
284 from .mooshare import MooshareIE
285 from .morningstar import MorningstarIE
286 from .motherless import MotherlessIE
287 from .motorsport import MotorsportIE
288 from .movieclips import MovieClipsIE
289 from .moviezine import MoviezineIE
290 from .movshare import MovShareIE
293 MTVServicesEmbeddedIE,
296 from .muenchentv import MuenchenTVIE
297 from .musicplayon import MusicPlayOnIE
298 from .musicvault import MusicVaultIE
299 from .muzu import MuzuTVIE
300 from .myspace import MySpaceIE, MySpaceAlbumIE
301 from .myspass import MySpassIE
302 from .myvideo import MyVideoIE
303 from .myvidster import MyVidsterIE
304 from .nationalgeographic import NationalGeographicIE
305 from .naver import NaverIE
306 from .nba import NBAIE
311 from .ndr import NDRIE
312 from .ndtv import NDTVIE
313 from .netzkino import NetzkinoIE
314 from .nerdcubed import NerdCubedFeedIE
315 from .nerdist import NerdistIE
316 from .newgrounds import NewgroundsIE
317 from .newstube import NewstubeIE
318 from .nextmedia import (
320 NextMediaActionNewsIE,
321 AppleDailyRealtimeNewsIE,
322 AppleDailyAnimationNewsIE
324 from .nfb import NFBIE
325 from .nfl import NFLIE
331 from .niconico import NiconicoIE, NiconicoPlaylistIE
332 from .ninegag import NineGagIE
333 from .noco import NocoIE
334 from .normalboots import NormalbootsIE
335 from .nosvideo import NosVideoIE
336 from .novamov import NovaMovIE
337 from .nowness import NownessIE
338 from .nowvideo import NowVideoIE
350 from .ntvde import NTVDeIE
351 from .ntvru import NTVRuIE
352 from .nytimes import NYTimesIE
353 from .nuvid import NuvidIE
354 from .odnoklassniki import OdnoklassnikiIE
355 from .oktoberfesttv import OktoberfestTVIE
356 from .ooyala import OoyalaIE
357 from .openfilm import OpenFilmIE
364 from .parliamentliveuk import ParliamentLiveUKIE
365 from .patreon import PatreonIE
366 from .pbs import PBSIE
367 from .phoenix import PhoenixIE
368 from .photobucket import PhotobucketIE
369 from .planetaplay import PlanetaPlayIE
370 from .pladform import PladformIE
371 from .played import PlayedIE
372 from .playfm import PlayFMIE
373 from .playvid import PlayvidIE
374 from .playwire import PlaywireIE
375 from .podomatic import PodomaticIE
376 from .pornhd import PornHdIE
377 from .pornhub import (
381 from .pornotube import PornotubeIE
382 from .pornoxo import PornoXOIE
383 from .primesharetv import PrimeShareTVIE
384 from .promptfile import PromptFileIE
385 from .prosiebensat1 import ProSiebenSat1IE
386 from .puls4 import Puls4IE
387 from .pyvideo import PyvideoIE
388 from .quickvid import QuickVidIE
390 from .radiode import RadioDeIE
391 from .radiobremen import RadioBremenIE
392 from .radiofrance import RadioFranceIE
393 from .rai import RaiIE
394 from .rbmaradio import RBMARadioIE
395 from .redtube import RedTubeIE
396 from .restudy import RestudyIE
397 from .reverbnation import ReverbNationIE
398 from .ringtv import RingTVIE
399 from .ro220 import Ro220IE
400 from .rottentomatoes import RottenTomatoesIE
401 from .roxwel import RoxwelIE
402 from .rtbf import RTBFIE
403 from .rte import RteIE
404 from .rtlnl import RtlNlIE
405 from .rtlnow import RTLnowIE
406 from .rtl2 import RTL2IE
407 from .rtp import RTPIE
408 from .rts import RTSIE
409 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
410 from .ruhd import RUHDIE
411 from .rutube import (
418 from .rutv import RUTVIE
419 from .sandia import SandiaIE
420 from .sapo import SapoIE
421 from .savefrom import SaveFromIE
422 from .sbs import SBSIE
423 from .scivee import SciVeeIE
424 from .screencast import ScreencastIE
425 from .screencastomatic import ScreencastOMaticIE
426 from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
427 from .servingsys import ServingSysIE
428 from .sexu import SexuIE
429 from .sexykarma import SexyKarmaIE
430 from .shared import SharedIE
431 from .sharesix import ShareSixIE
432 from .sina import SinaIE
433 from .slideshare import SlideshareIE
434 from .slutload import SlutloadIE
435 from .smotri import (
441 from .snotr import SnotrIE
442 from .sockshare import SockshareIE
443 from .sohu import SohuIE
444 from .soundcloud import (
450 from .soundgasm import (
454 from .southpark import (
458 from .space import SpaceIE
459 from .spankwire import SpankwireIE
460 from .spiegel import SpiegelIE, SpiegelArticleIE
461 from .spiegeltv import SpiegeltvIE
462 from .spike import SpikeIE
463 from .sport5 import Sport5IE
464 from .sportbox import SportBoxIE
465 from .sportdeutschland import SportDeutschlandIE
466 from .srmediathek import SRMediathekIE
467 from .ssa import SSAIE
468 from .stanfordoc import StanfordOpenClassroomIE
469 from .steam import SteamIE
470 from .streamcloud import StreamcloudIE
471 from .streamcz import StreamCZIE
472 from .streetvoice import StreetVoiceIE
473 from .sunporno import SunPornoIE
474 from .svtplay import SVTPlayIE
475 from .swrmediathek import SWRMediathekIE
476 from .syfy import SyfyIE
477 from .sztvhu import SztvHuIE
478 from .tagesschau import TagesschauIE
479 from .tapely import TapelyIE
480 from .tass import TassIE
481 from .teachertube import (
485 from .teachingchannel import TeachingChannelIE
486 from .teamcoco import TeamcocoIE
487 from .techtalks import TechTalksIE
488 from .ted import TEDIE
489 from .telebruxelles import TeleBruxellesIE
490 from .telecinco import TelecincoIE
491 from .telemb import TeleMBIE
492 from .teletask import TeleTaskIE
493 from .tenplay import TenPlayIE
494 from .testurl import TestURLIE
495 from .testtube import TestTubeIE
496 from .tf1 import TF1IE
497 from .theonion import TheOnionIE
498 from .theplatform import ThePlatformIE
499 from .thesixtyone import TheSixtyOneIE
500 from .thisav import ThisAVIE
501 from .tinypic import TinyPicIE
502 from .tlc import TlcIE, TlcDeIE
503 from .tmz import TMZIE
504 from .tnaflix import TNAFlixIE
505 from .thvideo import (
509 from .toutv import TouTvIE
510 from .toypics import ToypicsUserIE, ToypicsIE
511 from .traileraddict import TrailerAddictIE
512 from .trilulilu import TriluliluIE
513 from .trutube import TruTubeIE
514 from .tube8 import Tube8IE
515 from .tudou import TudouIE
516 from .tumblr import TumblrIE
517 from .tunein import TuneInIE
518 from .turbo import TurboIE
519 from .tutv import TutvIE
520 from .tv4 import TV4IE
521 from .tvigle import TvigleIE
522 from .tvp import TvpIE, TvpSeriesIE
523 from .tvplay import TVPlayIE
524 from .tweakers import TweakersIE
525 from .twentyfourvideo import TwentyFourVideoIE
526 from .twitch import (
531 TwitchPastBroadcastsIE,
535 from .ubu import UbuIE
540 from .unistra import UnistraIE
541 from .urort import UrortIE
542 from .ustream import UstreamIE, UstreamChannelIE
543 from .vbox7 import Vbox7IE
544 from .veehd import VeeHDIE
545 from .veoh import VeohIE
546 from .vesti import VestiIE
547 from .vevo import VevoIE
548 from .vgtv import VGTVIE
549 from .vh1 import VH1IE
550 from .vice import ViceIE
551 from .viddler import ViddlerIE
552 from .videobam import VideoBamIE
553 from .videodetective import VideoDetectiveIE
554 from .videolecturesnet import VideoLecturesNetIE
555 from .videofyme import VideofyMeIE
556 from .videomega import VideoMegaIE
557 from .videopremium import VideoPremiumIE
558 from .videott import VideoTtIE
559 from .videoweed import VideoWeedIE
560 from .vidme import VidmeIE
561 from .vidzi import VidziIE
562 from .vier import VierIE, VierVideosIE
563 from .viewster import ViewsterIE
574 from .vimple import VimpleIE
579 from .viki import VikiIE
584 from .vodlocker import VodlockerIE
585 from .vporn import VpornIE
586 from .vrt import VRTIE
587 from .vube import VubeIE
588 from .vuclip import VuClipIE
589 from .vulture import VultureIE
590 from .walla import WallaIE
591 from .washingtonpost import WashingtonPostIE
592 from .wat import WatIE
593 from .wayofthemaster import WayOfTheMasterIE
599 from .webofstories import WebOfStoriesIE
600 from .weibo import WeiboIE
601 from .wimp import WimpIE
602 from .wistia import WistiaIE
603 from .worldstarhiphop import WorldStarHipHopIE
604 from .wrzuta import WrzutaIE
605 from .wsj import WSJIE
606 from .xbef import XBefIE
607 from .xboxclips import XboxClipsIE
608 from .xhamster import XHamsterIE
609 from .xminus import XMinusIE
610 from .xnxx import XNXXIE
611 from .xvideos import XVideosIE
612 from .xtube import XTubeUserIE, XTubeIE
613 from .xuite import XuiteIE
614 from .xxxymovies import XXXYMoviesIE
619 from .yam import YamIE
620 from .yandexmusic import (
623 YandexMusicPlaylistIE,
625 from .yesjapan import YesJapanIE
626 from .ynet import YnetIE
627 from .youjizz import YouJizzIE
628 from .youku import YoukuIE
629 from .youporn import YouPornIE
630 from .yourupload import YourUploadIE
631 from .youtube import (
637 YoutubeRecommendedIE,
642 YoutubeSubscriptionsIE,
643 YoutubeTruncatedIDIE,
644 YoutubeTruncatedURLIE,
648 from .zapiks import ZapiksIE
649 from .zdf import ZDFIE, ZDFChannelIE
650 from .zingmp3 import (
657 for name, klass in globals().items()
658 if name.endswith('IE') and name != 'GenericIE'
660 _ALL_CLASSES.append(GenericIE)
663 def gen_extractors():
664 """ Return a list of an instance of every supported extractor.
665 The order does matter; the first extractor matched is the one handling the URL.
667 return [klass() for klass in _ALL_CLASSES]
670 def list_extractors(age_limit):
672 Return a list of extractors that are suitable for the given age,
673 sorted by extractor ID.
677 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
678 key=lambda ie: ie.IE_NAME.lower())
681 def get_info_extractor(ie_name):
682 """Returns the info extractor class with the given ie_name"""
683 return globals()[ie_name + 'IE']