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 .promptfile import PromptFileIE
384 from .prosiebensat1 import ProSiebenSat1IE
385 from .puls4 import Puls4IE
386 from .pyvideo import PyvideoIE
387 from .quickvid import QuickVidIE
389 from .radiode import RadioDeIE
390 from .radiobremen import RadioBremenIE
391 from .radiofrance import RadioFranceIE
392 from .rai import RaiIE
393 from .rbmaradio import RBMARadioIE
394 from .redtube import RedTubeIE
395 from .restudy import RestudyIE
396 from .reverbnation import ReverbNationIE
397 from .ringtv import RingTVIE
398 from .ro220 import Ro220IE
399 from .rottentomatoes import RottenTomatoesIE
400 from .roxwel import RoxwelIE
401 from .rtbf import RTBFIE
402 from .rte import RteIE
403 from .rtlnl import RtlNlIE
404 from .rtlnow import RTLnowIE
405 from .rtl2 import RTL2IE
406 from .rtp import RTPIE
407 from .rts import RTSIE
408 from .rtve import RTVEALaCartaIE, RTVELiveIE
409 from .ruhd import RUHDIE
410 from .rutube import (
417 from .rutv import RUTVIE
418 from .sandia import SandiaIE
419 from .sapo import SapoIE
420 from .savefrom import SaveFromIE
421 from .sbs import SBSIE
422 from .scivee import SciVeeIE
423 from .screencast import ScreencastIE
424 from .screencastomatic import ScreencastOMaticIE
425 from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
426 from .servingsys import ServingSysIE
427 from .sexu import SexuIE
428 from .sexykarma import SexyKarmaIE
429 from .shared import SharedIE
430 from .sharesix import ShareSixIE
431 from .sina import SinaIE
432 from .slideshare import SlideshareIE
433 from .slutload import SlutloadIE
434 from .smotri import (
440 from .snotr import SnotrIE
441 from .sockshare import SockshareIE
442 from .sohu import SohuIE
443 from .soundcloud import (
449 from .soundgasm import (
453 from .southpark import (
457 from .space import SpaceIE
458 from .spankwire import SpankwireIE
459 from .spiegel import SpiegelIE, SpiegelArticleIE
460 from .spiegeltv import SpiegeltvIE
461 from .spike import SpikeIE
462 from .sport5 import Sport5IE
463 from .sportbox import SportBoxIE
464 from .sportdeutschland import SportDeutschlandIE
465 from .srmediathek import SRMediathekIE
466 from .ssa import SSAIE
467 from .stanfordoc import StanfordOpenClassroomIE
468 from .steam import SteamIE
469 from .streamcloud import StreamcloudIE
470 from .streamcz import StreamCZIE
471 from .streetvoice import StreetVoiceIE
472 from .sunporno import SunPornoIE
473 from .svtplay import SVTPlayIE
474 from .swrmediathek import SWRMediathekIE
475 from .syfy import SyfyIE
476 from .sztvhu import SztvHuIE
477 from .tagesschau import TagesschauIE
478 from .tapely import TapelyIE
479 from .tass import TassIE
480 from .teachertube import (
484 from .teachingchannel import TeachingChannelIE
485 from .teamcoco import TeamcocoIE
486 from .techtalks import TechTalksIE
487 from .ted import TEDIE
488 from .telebruxelles import TeleBruxellesIE
489 from .telecinco import TelecincoIE
490 from .telemb import TeleMBIE
491 from .teletask import TeleTaskIE
492 from .tenplay import TenPlayIE
493 from .testurl import TestURLIE
494 from .testtube import TestTubeIE
495 from .tf1 import TF1IE
496 from .theonion import TheOnionIE
497 from .theplatform import ThePlatformIE
498 from .thesixtyone import TheSixtyOneIE
499 from .thisav import ThisAVIE
500 from .tinypic import TinyPicIE
501 from .tlc import TlcIE, TlcDeIE
502 from .tmz import TMZIE
503 from .tnaflix import TNAFlixIE
504 from .thvideo import (
508 from .toutv import TouTvIE
509 from .toypics import ToypicsUserIE, ToypicsIE
510 from .traileraddict import TrailerAddictIE
511 from .trilulilu import TriluliluIE
512 from .trutube import TruTubeIE
513 from .tube8 import Tube8IE
514 from .tudou import TudouIE
515 from .tumblr import TumblrIE
516 from .tunein import TuneInIE
517 from .turbo import TurboIE
518 from .tutv import TutvIE
519 from .tv4 import TV4IE
520 from .tvigle import TvigleIE
521 from .tvp import TvpIE, TvpSeriesIE
522 from .tvplay import TVPlayIE
523 from .tweakers import TweakersIE
524 from .twentyfourvideo import TwentyFourVideoIE
525 from .twitch import (
530 TwitchPastBroadcastsIE,
534 from .ubu import UbuIE
539 from .unistra import UnistraIE
540 from .urort import UrortIE
541 from .ustream import UstreamIE, UstreamChannelIE
542 from .vbox7 import Vbox7IE
543 from .veehd import VeeHDIE
544 from .veoh import VeohIE
545 from .vesti import VestiIE
546 from .vevo import VevoIE
547 from .vgtv import VGTVIE
548 from .vh1 import VH1IE
549 from .vice import ViceIE
550 from .viddler import ViddlerIE
551 from .videobam import VideoBamIE
552 from .videodetective import VideoDetectiveIE
553 from .videolecturesnet import VideoLecturesNetIE
554 from .videofyme import VideofyMeIE
555 from .videomega import VideoMegaIE
556 from .videopremium import VideoPremiumIE
557 from .videott import VideoTtIE
558 from .videoweed import VideoWeedIE
559 from .vidme import VidmeIE
560 from .vidzi import VidziIE
561 from .vier import VierIE, VierVideosIE
562 from .viewster import ViewsterIE
573 from .vimple import VimpleIE
578 from .viki import VikiIE
583 from .vodlocker import VodlockerIE
584 from .vporn import VpornIE
585 from .vrt import VRTIE
586 from .vube import VubeIE
587 from .vuclip import VuClipIE
588 from .vulture import VultureIE
589 from .walla import WallaIE
590 from .washingtonpost import WashingtonPostIE
591 from .wat import WatIE
592 from .wayofthemaster import WayOfTheMasterIE
598 from .webofstories import WebOfStoriesIE
599 from .weibo import WeiboIE
600 from .wimp import WimpIE
601 from .wistia import WistiaIE
602 from .worldstarhiphop import WorldStarHipHopIE
603 from .wrzuta import WrzutaIE
604 from .wsj import WSJIE
605 from .xbef import XBefIE
606 from .xboxclips import XboxClipsIE
607 from .xhamster import XHamsterIE
608 from .xminus import XMinusIE
609 from .xnxx import XNXXIE
610 from .xvideos import XVideosIE
611 from .xtube import XTubeUserIE, XTubeIE
612 from .xuite import XuiteIE
613 from .xxxymovies import XXXYMoviesIE
618 from .yam import YamIE
619 from .yandexmusic import (
622 YandexMusicPlaylistIE,
624 from .yesjapan import YesJapanIE
625 from .ynet import YnetIE
626 from .youjizz import YouJizzIE
627 from .youku import YoukuIE
628 from .youporn import YouPornIE
629 from .yourupload import YourUploadIE
630 from .youtube import (
636 YoutubeRecommendedIE,
641 YoutubeSubscriptionsIE,
642 YoutubeTruncatedIDIE,
643 YoutubeTruncatedURLIE,
647 from .zapiks import ZapiksIE
648 from .zdf import ZDFIE, ZDFChannelIE
649 from .zingmp3 import (
656 for name, klass in globals().items()
657 if name.endswith('IE') and name != 'GenericIE'
659 _ALL_CLASSES.append(GenericIE)
662 def gen_extractors():
663 """ Return a list of an instance of every supported extractor.
664 The order does matter; the first extractor matched is the one handling the URL.
666 return [klass() for klass in _ALL_CLASSES]
669 def list_extractors(age_limit):
671 Return a list of extractors that are suitable for the given age,
672 sorted by extractor ID.
676 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
677 key=lambda ie: ie.IE_NAME.lower())
680 def get_info_extractor(ie_name):
681 """Returns the info extractor class with the given ie_name"""
682 return globals()[ie_name + 'IE']