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 .baidu import BaiduVideoIE
36 from .bambuser import BambuserIE, BambuserChannelIE
37 from .bandcamp import BandcampIE, BandcampAlbumIE
38 from .bbccouk import BBCCoUkIE
39 from .beeg import BeegIE
40 from .behindkink import BehindKinkIE
41 from .beatportpro import BeatportProIE
42 from .bet import BetIE
43 from .bild import BildIE
44 from .bilibili import BiliBiliIE
45 from .blinkx import BlinkxIE
46 from .bliptv import BlipTVIE, BlipTVUserIE
47 from .bloomberg import BloombergIE
48 from .bpb import BpbIE
50 from .breakcom import BreakIE
51 from .brightcove import BrightcoveIE
52 from .buzzfeed import BuzzFeedIE
53 from .byutv import BYUtvIE
54 from .c56 import C56IE
55 from .camdemy import (
59 from .canal13cl import Canal13clIE
60 from .canalplus import CanalplusIE
61 from .canalc2 import Canalc2IE
62 from .cbs import CBSIE
63 from .cbsnews import CBSNewsIE
64 from .cbssports import CBSSportsIE
65 from .ccc import CCCIE
66 from .ceskatelevize import CeskaTelevizeIE
67 from .channel9 import Channel9IE
68 from .chilloutzone import ChilloutzoneIE
69 from .chirbit import (
73 from .cinchcast import CinchcastIE
74 from .cinemassacre import CinemassacreIE
75 from .clipfish import ClipfishIE
76 from .cliphunter import CliphunterIE
77 from .clipsyndicate import ClipsyndicateIE
78 from .cloudy import CloudyIE
79 from .clubic import ClubicIE
80 from .cmt import CMTIE
81 from .cnet import CNETIE
87 from .collegehumor import CollegeHumorIE
88 from .collegerama import CollegeRamaIE
89 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
90 from .comcarcoff import ComCarCoffIE
91 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
92 from .condenast import CondeNastIE
93 from .cracked import CrackedIE
94 from .criterion import CriterionIE
95 from .crooksandliars import CrooksAndLiarsIE
96 from .crunchyroll import (
98 CrunchyrollShowPlaylistIE
100 from .cspan import CSpanIE
101 from .ctsnews import CtsNewsIE
102 from .dailymotion import (
104 DailymotionPlaylistIE,
107 from .daum import DaumIE
108 from .dbtv import DBTVIE
109 from .dctp import DctpTvIE
110 from .deezer import DeezerPlaylistIE
111 from .dfb import DFBIE
112 from .dhm import DHMIE
113 from .dotsub import DotsubIE
114 from .douyutv import DouyuTVIE
115 from .dreisat import DreiSatIE
116 from .drbonanza import DRBonanzaIE
117 from .drtuber import DrTuberIE
118 from .drtv import DRTVIE
119 from .dvtv import DVTVIE
120 from .dump import DumpIE
121 from .dumpert import DumpertIE
122 from .defense import DefenseGouvFrIE
123 from .discovery import DiscoveryIE
124 from .divxstage import DivxStageIE
125 from .dropbox import DropboxIE
126 from .eagleplatform import EaglePlatformIE
127 from .ebaumsworld import EbaumsWorldIE
128 from .echomsk import EchoMskIE
129 from .ehow import EHowIE
130 from .eighttracks import EightTracksIE
131 from .einthusan import EinthusanIE
132 from .eitb import EitbIE
133 from .ellentv import (
137 from .elpais import ElPaisIE
138 from .embedly import EmbedlyIE
139 from .empflix import EMPFlixIE
140 from .engadget import EngadgetIE
141 from .eporner import EpornerIE
142 from .eroprofile import EroProfileIE
143 from .escapist import EscapistIE
144 from .everyonesmixtape import EveryonesMixtapeIE
145 from .exfm import ExfmIE
146 from .expotv import ExpoTVIE
147 from .extremetube import ExtremeTubeIE
148 from .facebook import FacebookIE
149 from .faz import FazIE
150 from .fc2 import FC2IE
151 from .firedrive import FiredriveIE
152 from .firstpost import FirstpostIE
153 from .firsttv import FirstTVIE
154 from .fivemin import FiveMinIE
159 from .flickr import FlickrIE
160 from .folketinget import FolketingetIE
161 from .footyroom import FootyRoomIE
162 from .fourtube import FourTubeIE
163 from .foxgay import FoxgayIE
164 from .foxnews import FoxNewsIE
165 from .foxsports import FoxSportsIE
166 from .franceculture import FranceCultureIE
167 from .franceinter import FranceInterIE
168 from .francetv import (
175 from .freesound import FreesoundIE
176 from .freespeech import FreespeechIE
177 from .freevideo import FreeVideoIE
178 from .funnyordie import FunnyOrDieIE
179 from .gamekings import GamekingsIE
180 from .gameone import (
184 from .gamersyde import GamersydeIE
185 from .gamespot import GameSpotIE
186 from .gamestar import GameStarIE
187 from .gametrailers import GametrailersIE
188 from .gazeta import GazetaIE
189 from .gdcvault import GDCVaultIE
190 from .generic import GenericIE
191 from .gfycat import GfycatIE
192 from .giantbomb import GiantBombIE
193 from .giga import GigaIE
194 from .glide import GlideIE
195 from .globo import GloboIE
196 from .godtube import GodTubeIE
197 from .goldenmoustache import GoldenMoustacheIE
198 from .golem import GolemIE
199 from .googleplus import GooglePlusIE
200 from .googlesearch import GoogleSearchIE
201 from .gorillavid import GorillaVidIE
202 from .goshgay import GoshgayIE
203 from .groupon import GrouponIE
204 from .hark import HarkIE
205 from .hearthisat import HearThisAtIE
206 from .heise import HeiseIE
207 from .hellporno import HellPornoIE
208 from .helsinki import HelsinkiIE
209 from .hentaistigma import HentaiStigmaIE
210 from .historicfilms import HistoricFilmsIE
211 from .history import HistoryIE
212 from .hitbox import HitboxIE, HitboxLiveIE
213 from .hornbunny import HornBunnyIE
214 from .hostingbulk import HostingBulkIE
215 from .hotnewhiphop import HotNewHipHopIE
216 from .howcast import HowcastIE
217 from .howstuffworks import HowStuffWorksIE
218 from .huffpost import HuffPostIE
219 from .hypem import HypemIE
220 from .iconosquare import IconosquareIE
221 from .ign import IGNIE, OneUPIE
226 from .imgur import ImgurIE
227 from .ina import InaIE
228 from .infoq import InfoQIE
229 from .instagram import InstagramIE, InstagramUserIE
230 from .internetvideoarchive import InternetVideoArchiveIE
231 from .iprima import IPrimaIE
236 from .izlesene import IzleseneIE
237 from .jadorecettepub import JadoreCettePubIE
238 from .jeuxvideo import JeuxVideoIE
239 from .jove import JoveIE
240 from .jukebox import JukeboxIE
241 from .jpopsukitv import JpopsukiIE
242 from .kaltura import KalturaIE
243 from .kanalplay import KanalPlayIE
244 from .kankan import KankanIE
245 from .karaoketv import KaraoketvIE
246 from .keezmovies import KeezMoviesIE
247 from .khanacademy import KhanAcademyIE
248 from .kickstarter import KickStarterIE
249 from .keek import KeekIE
250 from .kontrtube import KontrTubeIE
251 from .krasview import KrasViewIE
252 from .ku6 import Ku6IE
253 from .la7 import LA7IE
254 from .laola1tv import Laola1TvIE
260 from .libsyn import LibsynIE
261 from .lifenews import (
265 from .liveleak import LiveLeakIE
266 from .livestream import (
268 LivestreamOriginalIE,
269 LivestreamShortenerIE,
271 from .lnkgo import LnkGoIE
272 from .lrt import LRTIE
278 from .macgamestore import MacGameStoreIE
279 from .mailru import MailRuIE
280 from .malemotion import MalemotionIE
281 from .mdr import MDRIE
282 from .megavideoz import MegaVideozIE
283 from .metacafe import MetacafeIE
284 from .metacritic import MetacriticIE
285 from .mgoon import MgoonIE
286 from .minhateca import MinhatecaIE
287 from .ministrygrid import MinistryGridIE
288 from .miomio import MioMioIE
289 from .mit import TechTVMITIE, MITIE, OCWMITIE
290 from .mitele import MiTeleIE
291 from .mixcloud import MixcloudIE
292 from .mlb import MLBIE
293 from .mpora import MporaIE
294 from .moevideo import MoeVideoIE
295 from .mofosex import MofosexIE
296 from .mojvideo import MojvideoIE
297 from .moniker import MonikerIE
298 from .mooshare import MooshareIE
299 from .morningstar import MorningstarIE
300 from .motherless import MotherlessIE
301 from .motorsport import MotorsportIE
302 from .movieclips import MovieClipsIE
303 from .moviezine import MoviezineIE
304 from .movshare import MovShareIE
307 MTVServicesEmbeddedIE,
310 from .muenchentv import MuenchenTVIE
311 from .musicplayon import MusicPlayOnIE
312 from .musicvault import MusicVaultIE
313 from .muzu import MuzuTVIE
314 from .myspace import MySpaceIE, MySpaceAlbumIE
315 from .myspass import MySpassIE
316 from .myvideo import MyVideoIE
317 from .myvidster import MyVidsterIE
318 from .nationalgeographic import NationalGeographicIE
319 from .naver import NaverIE
320 from .nba import NBAIE
331 from .ndtv import NDTVIE
332 from .netzkino import NetzkinoIE
333 from .nerdcubed import NerdCubedFeedIE
334 from .nerdist import NerdistIE
335 from .newgrounds import NewgroundsIE
336 from .newstube import NewstubeIE
337 from .nextmedia import (
339 NextMediaActionNewsIE,
340 AppleDailyRealtimeNewsIE,
341 AppleDailyAnimationNewsIE
343 from .nfb import NFBIE
344 from .nfl import NFLIE
350 from .niconico import NiconicoIE, NiconicoPlaylistIE
351 from .ninegag import NineGagIE
352 from .noco import NocoIE
353 from .normalboots import NormalbootsIE
354 from .nosvideo import NosVideoIE
355 from .novamov import NovaMovIE
356 from .nowness import NownessIE
357 from .nowvideo import NowVideoIE
370 from .ntvde import NTVDeIE
371 from .ntvru import NTVRuIE
372 from .nytimes import (
376 from .nuvid import NuvidIE
377 from .odnoklassniki import OdnoklassnikiIE
378 from .oktoberfesttv import OktoberfestTVIE
379 from .ooyala import OoyalaIE
380 from .openfilm import OpenFilmIE
387 from .parliamentliveuk import ParliamentLiveUKIE
388 from .patreon import PatreonIE
389 from .pbs import PBSIE
390 from .philharmoniedeparis import PhilharmonieDeParisIE
391 from .phoenix import PhoenixIE
392 from .photobucket import PhotobucketIE
393 from .planetaplay import PlanetaPlayIE
394 from .pladform import PladformIE
395 from .played import PlayedIE
396 from .playfm import PlayFMIE
397 from .playvid import PlayvidIE
398 from .playwire import PlaywireIE
399 from .podomatic import PodomaticIE
400 from .pornhd import PornHdIE
401 from .pornhub import (
405 from .pornotube import PornotubeIE
406 from .pornovoisines import PornoVoisinesIE
407 from .pornoxo import PornoXOIE
408 from .primesharetv import PrimeShareTVIE
409 from .promptfile import PromptFileIE
410 from .prosiebensat1 import ProSiebenSat1IE
411 from .puls4 import Puls4IE
412 from .pyvideo import PyvideoIE
413 from .qqmusic import (
419 from .quickvid import QuickVidIE
421 from .radiode import RadioDeIE
422 from .radiojavan import RadioJavanIE
423 from .radiobremen import RadioBremenIE
424 from .radiofrance import RadioFranceIE
425 from .rai import RaiIE
426 from .rbmaradio import RBMARadioIE
427 from .redtube import RedTubeIE
428 from .restudy import RestudyIE
429 from .reverbnation import ReverbNationIE
430 from .ringtv import RingTVIE
431 from .ro220 import Ro220IE
432 from .rottentomatoes import RottenTomatoesIE
433 from .roxwel import RoxwelIE
434 from .rtbf import RTBFIE
435 from .rte import RteIE
436 from .rtlnl import RtlNlIE
437 from .rtlnow import RTLnowIE
438 from .rtl2 import RTL2IE
439 from .rtp import RTPIE
440 from .rts import RTSIE
441 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
442 from .ruhd import RUHDIE
443 from .rutube import (
450 from .rutv import RUTVIE
451 from .ruutu import RuutuIE
452 from .sandia import SandiaIE
453 from .safari import (
457 from .sapo import SapoIE
458 from .savefrom import SaveFromIE
459 from .sbs import SBSIE
460 from .scivee import SciVeeIE
461 from .screencast import ScreencastIE
462 from .screencastomatic import ScreencastOMaticIE
463 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
464 from .senateisvp import SenateISVPIE
465 from .servingsys import ServingSysIE
466 from .sexu import SexuIE
467 from .sexykarma import SexyKarmaIE
468 from .shared import SharedIE
469 from .sharesix import ShareSixIE
470 from .sina import SinaIE
471 from .slideshare import SlideshareIE
472 from .slutload import SlutloadIE
473 from .smotri import (
479 from .snotr import SnotrIE
480 from .sockshare import SockshareIE
481 from .sohu import SohuIE
482 from .soundcloud import (
488 from .soundgasm import (
492 from .southpark import (
499 from .space import SpaceIE
500 from .spankbang import SpankBangIE
501 from .spankwire import SpankwireIE
502 from .spiegel import SpiegelIE, SpiegelArticleIE
503 from .spiegeltv import SpiegeltvIE
504 from .spike import SpikeIE
505 from .sport5 import Sport5IE
506 from .sportbox import SportBoxIE
507 from .sportdeutschland import SportDeutschlandIE
508 from .srf import SrfIE
509 from .srmediathek import SRMediathekIE
510 from .ssa import SSAIE
511 from .stanfordoc import StanfordOpenClassroomIE
512 from .steam import SteamIE
513 from .streamcloud import StreamcloudIE
514 from .streamcz import StreamCZIE
515 from .streetvoice import StreetVoiceIE
516 from .sunporno import SunPornoIE
521 from .swrmediathek import SWRMediathekIE
522 from .syfy import SyfyIE
523 from .sztvhu import SztvHuIE
524 from .tagesschau import TagesschauIE
525 from .tapely import TapelyIE
526 from .tass import TassIE
527 from .teachertube import (
531 from .teachingchannel import TeachingChannelIE
532 from .teamcoco import TeamcocoIE
533 from .techtalks import TechTalksIE
534 from .ted import TEDIE
535 from .telebruxelles import TeleBruxellesIE
536 from .telecinco import TelecincoIE
537 from .telemb import TeleMBIE
538 from .teletask import TeleTaskIE
539 from .tenplay import TenPlayIE
540 from .testurl import TestURLIE
541 from .testtube import TestTubeIE
542 from .tf1 import TF1IE
543 from .theonion import TheOnionIE
544 from .theplatform import ThePlatformIE
545 from .thesixtyone import TheSixtyOneIE
546 from .thisav import ThisAVIE
547 from .tinypic import TinyPicIE
548 from .tlc import TlcIE, TlcDeIE
553 from .tnaflix import TNAFlixIE
554 from .thvideo import (
558 from .toutv import TouTvIE
559 from .toypics import ToypicsUserIE, ToypicsIE
560 from .traileraddict import TrailerAddictIE
561 from .trilulilu import TriluliluIE
562 from .trutube import TruTubeIE
563 from .tube8 import Tube8IE
564 from .tudou import TudouIE
565 from .tumblr import TumblrIE
566 from .tunein import TuneInIE
567 from .turbo import TurboIE
568 from .tutv import TutvIE
569 from .tv4 import TV4IE
570 from .tvigle import TvigleIE
571 from .tvp import TvpIE, TvpSeriesIE
572 from .tvplay import TVPlayIE
573 from .tweakers import TweakersIE
574 from .twentyfourvideo import TwentyFourVideoIE
575 from .twentytwotracks import (
577 TwentyTwoTracksGenreIE
579 from .twitch import (
584 TwitchPastBroadcastsIE,
588 from .ubu import UbuIE
593 from .udn import UDNEmbedIE
594 from .ultimedia import UltimediaIE
595 from .unistra import UnistraIE
596 from .urort import UrortIE
597 from .ustream import UstreamIE, UstreamChannelIE
598 from .varzesh3 import Varzesh3IE
599 from .vbox7 import Vbox7IE
600 from .veehd import VeeHDIE
601 from .veoh import VeohIE
602 from .vessel import VesselIE
603 from .vesti import VestiIE
604 from .vevo import VevoIE
610 from .vh1 import VH1IE
611 from .vice import ViceIE
612 from .viddler import ViddlerIE
613 from .videobam import VideoBamIE
614 from .videodetective import VideoDetectiveIE
615 from .videolecturesnet import VideoLecturesNetIE
616 from .videofyme import VideofyMeIE
617 from .videomega import VideoMegaIE
618 from .videopremium import VideoPremiumIE
619 from .videott import VideoTtIE
620 from .videoweed import VideoWeedIE
621 from .vidme import VidmeIE
622 from .vidzi import VidziIE
623 from .vier import VierIE, VierVideosIE
624 from .viewster import ViewsterIE
635 from .vimple import VimpleIE
640 from .viki import VikiIE
645 from .vodlocker import VodlockerIE
646 from .voicerepublic import VoiceRepublicIE
647 from .vporn import VpornIE
648 from .vrt import VRTIE
649 from .vube import VubeIE
650 from .vuclip import VuClipIE
651 from .vulture import VultureIE
652 from .walla import WallaIE
653 from .washingtonpost import WashingtonPostIE
654 from .wat import WatIE
655 from .wayofthemaster import WayOfTheMasterIE
661 from .webofstories import WebOfStoriesIE
662 from .weibo import WeiboIE
663 from .wimp import WimpIE
664 from .wistia import WistiaIE
665 from .worldstarhiphop import WorldStarHipHopIE
666 from .wrzuta import WrzutaIE
667 from .wsj import WSJIE
668 from .xbef import XBefIE
669 from .xboxclips import XboxClipsIE
670 from .xhamster import XHamsterIE
671 from .xminus import XMinusIE
672 from .xnxx import XNXXIE
673 from .xstream import XstreamIE
674 from .xtube import XTubeUserIE, XTubeIE
675 from .xuite import XuiteIE
676 from .xvideos import XVideosIE
677 from .xxxymovies import XXXYMoviesIE
682 from .yam import YamIE
683 from .yandexmusic import (
686 YandexMusicPlaylistIE,
688 from .yesjapan import YesJapanIE
689 from .ynet import YnetIE
690 from .youjizz import YouJizzIE
691 from .youku import YoukuIE
692 from .youporn import YouPornIE
693 from .yourupload import YourUploadIE
694 from .youtube import (
700 YoutubeRecommendedIE,
705 YoutubeSubscriptionsIE,
706 YoutubeTruncatedIDIE,
707 YoutubeTruncatedURLIE,
711 from .zapiks import ZapiksIE
712 from .zdf import ZDFIE, ZDFChannelIE
713 from .zingmp3 import (
720 for name, klass in globals().items()
721 if name.endswith('IE') and name != 'GenericIE'
723 _ALL_CLASSES.append(GenericIE)
726 def gen_extractors():
727 """ Return a list of an instance of every supported extractor.
728 The order does matter; the first extractor matched is the one handling the URL.
730 return [klass() for klass in _ALL_CLASSES]
733 def list_extractors(age_limit):
735 Return a list of extractors that are suitable for the given age,
736 sorted by extractor ID.
740 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
741 key=lambda ie: ie.IE_NAME.lower())
744 def get_info_extractor(ie_name):
745 """Returns the info extractor class with the given ie_name"""
746 return globals()[ie_name + 'IE']