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 .crooksandliars import CrooksAndLiarsIE
94 from .crunchyroll import (
96 CrunchyrollShowPlaylistIE
98 from .cspan import CSpanIE
99 from .ctsnews import CtsNewsIE
100 from .dailymotion import (
102 DailymotionPlaylistIE,
105 from .daum import DaumIE
106 from .dbtv import DBTVIE
107 from .dctp import DctpTvIE
108 from .deezer import DeezerPlaylistIE
109 from .dfb import DFBIE
110 from .dhm import DHMIE
111 from .dotsub import DotsubIE
112 from .douyutv import DouyuTVIE
113 from .dreisat import DreiSatIE
114 from .drbonanza import DRBonanzaIE
115 from .drtuber import DrTuberIE
116 from .drtv import DRTVIE
117 from .dvtv import DVTVIE
118 from .dump import DumpIE
119 from .dumpert import DumpertIE
120 from .defense import DefenseGouvFrIE
121 from .discovery import DiscoveryIE
122 from .divxstage import DivxStageIE
123 from .dropbox import DropboxIE
124 from .eagleplatform import EaglePlatformIE
125 from .ebaumsworld import EbaumsWorldIE
126 from .echomsk import EchoMskIE
127 from .ehow import EHowIE
128 from .eighttracks import EightTracksIE
129 from .einthusan import EinthusanIE
130 from .eitb import EitbIE
131 from .ellentv import (
135 from .elpais import ElPaisIE
136 from .embedly import EmbedlyIE
137 from .empflix import EMPFlixIE
138 from .engadget import EngadgetIE
139 from .eporner import EpornerIE
140 from .eroprofile import EroProfileIE
141 from .escapist import EscapistIE
142 from .everyonesmixtape import EveryonesMixtapeIE
143 from .exfm import ExfmIE
144 from .expotv import ExpoTVIE
145 from .extremetube import ExtremeTubeIE
146 from .facebook import FacebookIE
147 from .faz import FazIE
148 from .fc2 import FC2IE
149 from .firedrive import FiredriveIE
150 from .firstpost import FirstpostIE
151 from .firsttv import FirstTVIE
152 from .fivemin import FiveMinIE
157 from .flickr import FlickrIE
158 from .folketinget import FolketingetIE
159 from .footyroom import FootyRoomIE
160 from .fourtube import FourTubeIE
161 from .foxgay import FoxgayIE
162 from .foxnews import FoxNewsIE
163 from .franceculture import FranceCultureIE
164 from .franceinter import FranceInterIE
165 from .francetv import (
172 from .freesound import FreesoundIE
173 from .freespeech import FreespeechIE
174 from .freevideo import FreeVideoIE
175 from .funnyordie import FunnyOrDieIE
176 from .gamekings import GamekingsIE
177 from .gameone import (
181 from .gamersyde import GamersydeIE
182 from .gamespot import GameSpotIE
183 from .gamestar import GameStarIE
184 from .gametrailers import GametrailersIE
185 from .gazeta import GazetaIE
186 from .gdcvault import GDCVaultIE
187 from .generic import GenericIE
188 from .gfycat import GfycatIE
189 from .giantbomb import GiantBombIE
190 from .giga import GigaIE
191 from .glide import GlideIE
192 from .globo import GloboIE
193 from .godtube import GodTubeIE
194 from .goldenmoustache import GoldenMoustacheIE
195 from .golem import GolemIE
196 from .googleplus import GooglePlusIE
197 from .googlesearch import GoogleSearchIE
198 from .gorillavid import GorillaVidIE
199 from .goshgay import GoshgayIE
200 from .grooveshark import GroovesharkIE
201 from .groupon import GrouponIE
202 from .hark import HarkIE
203 from .hearthisat import HearThisAtIE
204 from .heise import HeiseIE
205 from .hellporno import HellPornoIE
206 from .helsinki import HelsinkiIE
207 from .hentaistigma import HentaiStigmaIE
208 from .historicfilms import HistoricFilmsIE
209 from .history import HistoryIE
210 from .hitbox import HitboxIE, HitboxLiveIE
211 from .hornbunny import HornBunnyIE
212 from .hostingbulk import HostingBulkIE
213 from .hotnewhiphop import HotNewHipHopIE
214 from .howcast import HowcastIE
215 from .howstuffworks import HowStuffWorksIE
216 from .huffpost import HuffPostIE
217 from .hypem import HypemIE
218 from .iconosquare import IconosquareIE
219 from .ign import IGNIE, OneUPIE
224 from .imgur import ImgurIE
225 from .ina import InaIE
226 from .infoq import InfoQIE
227 from .instagram import InstagramIE, InstagramUserIE
228 from .internetvideoarchive import InternetVideoArchiveIE
229 from .iprima import IPrimaIE
234 from .izlesene import IzleseneIE
235 from .jadorecettepub import JadoreCettePubIE
236 from .jeuxvideo import JeuxVideoIE
237 from .jove import JoveIE
238 from .jukebox import JukeboxIE
239 from .jpopsukitv import JpopsukiIE
240 from .kaltura import KalturaIE
241 from .kanalplay import KanalPlayIE
242 from .kankan import KankanIE
243 from .karaoketv import KaraoketvIE
244 from .keezmovies import KeezMoviesIE
245 from .khanacademy import KhanAcademyIE
246 from .kickstarter import KickStarterIE
247 from .keek import KeekIE
248 from .kontrtube import KontrTubeIE
249 from .krasview import KrasViewIE
250 from .ku6 import Ku6IE
251 from .la7 import LA7IE
252 from .laola1tv import Laola1TvIE
258 from .libsyn import LibsynIE
259 from .lifenews import LifeNewsIE
260 from .liveleak import LiveLeakIE
261 from .livestream import (
263 LivestreamOriginalIE,
264 LivestreamShortenerIE,
266 from .lnkgo import LnkGoIE
267 from .lrt import LRTIE
273 from .macgamestore import MacGameStoreIE
274 from .mailru import MailRuIE
275 from .malemotion import MalemotionIE
276 from .mdr import MDRIE
277 from .megavideoz import MegaVideozIE
278 from .metacafe import MetacafeIE
279 from .metacritic import MetacriticIE
280 from .mgoon import MgoonIE
281 from .minhateca import MinhatecaIE
282 from .ministrygrid import MinistryGridIE
283 from .miomio import MioMioIE
284 from .mit import TechTVMITIE, MITIE, OCWMITIE
285 from .mitele import MiTeleIE
286 from .mixcloud import MixcloudIE
287 from .mlb import MLBIE
288 from .mpora import MporaIE
289 from .moevideo import MoeVideoIE
290 from .mofosex import MofosexIE
291 from .mojvideo import MojvideoIE
292 from .moniker import MonikerIE
293 from .mooshare import MooshareIE
294 from .morningstar import MorningstarIE
295 from .motherless import MotherlessIE
296 from .motorsport import MotorsportIE
297 from .movieclips import MovieClipsIE
298 from .moviezine import MoviezineIE
299 from .movshare import MovShareIE
302 MTVServicesEmbeddedIE,
305 from .muenchentv import MuenchenTVIE
306 from .musicplayon import MusicPlayOnIE
307 from .musicvault import MusicVaultIE
308 from .muzu import MuzuTVIE
309 from .myspace import MySpaceIE, MySpaceAlbumIE
310 from .myspass import MySpassIE
311 from .myvideo import MyVideoIE
312 from .myvidster import MyVidsterIE
313 from .nationalgeographic import NationalGeographicIE
314 from .naver import NaverIE
315 from .nba import NBAIE
322 from .ndr import NDRIE
323 from .ndtv import NDTVIE
324 from .netzkino import NetzkinoIE
325 from .nerdcubed import NerdCubedFeedIE
326 from .nerdist import NerdistIE
327 from .newgrounds import NewgroundsIE
328 from .newstube import NewstubeIE
329 from .nextmedia import (
331 NextMediaActionNewsIE,
332 AppleDailyRealtimeNewsIE,
333 AppleDailyAnimationNewsIE
335 from .nfb import NFBIE
336 from .nfl import NFLIE
342 from .niconico import NiconicoIE, NiconicoPlaylistIE
343 from .ninegag import NineGagIE
344 from .noco import NocoIE
345 from .normalboots import NormalbootsIE
346 from .nosvideo import NosVideoIE
347 from .novamov import NovaMovIE
348 from .nowness import NownessIE
349 from .nowvideo import NowVideoIE
362 from .ntvde import NTVDeIE
363 from .ntvru import NTVRuIE
364 from .nytimes import NYTimesIE
365 from .nuvid import NuvidIE
366 from .odnoklassniki import OdnoklassnikiIE
367 from .oktoberfesttv import OktoberfestTVIE
368 from .ooyala import OoyalaIE
369 from .openfilm import OpenFilmIE
376 from .parliamentliveuk import ParliamentLiveUKIE
377 from .patreon import PatreonIE
378 from .pbs import PBSIE
379 from .phoenix import PhoenixIE
380 from .photobucket import PhotobucketIE
381 from .planetaplay import PlanetaPlayIE
382 from .pladform import PladformIE
383 from .played import PlayedIE
384 from .playfm import PlayFMIE
385 from .playvid import PlayvidIE
386 from .playwire import PlaywireIE
387 from .podomatic import PodomaticIE
388 from .pornhd import PornHdIE
389 from .pornhub import (
393 from .pornotube import PornotubeIE
394 from .pornovoisines import PornoVoisinesIE
395 from .pornoxo import PornoXOIE
396 from .primesharetv import PrimeShareTVIE
397 from .promptfile import PromptFileIE
398 from .prosiebensat1 import ProSiebenSat1IE
399 from .puls4 import Puls4IE
400 from .pyvideo import PyvideoIE
401 from .qqmusic import (
406 from .quickvid import QuickVidIE
408 from .radiode import RadioDeIE
409 from .radiojavan import RadioJavanIE
410 from .radiobremen import RadioBremenIE
411 from .radiofrance import RadioFranceIE
412 from .rai import RaiIE
413 from .rbmaradio import RBMARadioIE
414 from .redtube import RedTubeIE
415 from .restudy import RestudyIE
416 from .reverbnation import ReverbNationIE
417 from .ringtv import RingTVIE
418 from .ro220 import Ro220IE
419 from .rottentomatoes import RottenTomatoesIE
420 from .roxwel import RoxwelIE
421 from .rtbf import RTBFIE
422 from .rte import RteIE
423 from .rtlnl import RtlNlIE
424 from .rtlnow import RTLnowIE
425 from .rtl2 import RTL2IE
426 from .rtp import RTPIE
427 from .rts import RTSIE
428 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
429 from .ruhd import RUHDIE
430 from .rutube import (
437 from .rutv import RUTVIE
438 from .sandia import SandiaIE
439 from .safari import (
443 from .sapo import SapoIE
444 from .savefrom import SaveFromIE
445 from .sbs import SBSIE
446 from .scivee import SciVeeIE
447 from .screencast import ScreencastIE
448 from .screencastomatic import ScreencastOMaticIE
449 from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
450 from .senateisvp import SenateISVPIE
451 from .servingsys import ServingSysIE
452 from .sexu import SexuIE
453 from .sexykarma import SexyKarmaIE
454 from .shared import SharedIE
455 from .sharesix import ShareSixIE
456 from .sina import SinaIE
457 from .slideshare import SlideshareIE
458 from .slutload import SlutloadIE
459 from .smotri import (
465 from .snotr import SnotrIE
466 from .sockshare import SockshareIE
467 from .sohu import SohuIE
468 from .soundcloud import (
474 from .soundgasm import (
478 from .southpark import (
482 from .space import SpaceIE
483 from .spankbang import SpankBangIE
484 from .spankwire import SpankwireIE
485 from .spiegel import SpiegelIE, SpiegelArticleIE
486 from .spiegeltv import SpiegeltvIE
487 from .spike import SpikeIE
488 from .sport5 import Sport5IE
489 from .sportbox import SportBoxIE
490 from .sportdeutschland import SportDeutschlandIE
491 from .srf import SrfIE
492 from .srmediathek import SRMediathekIE
493 from .ssa import SSAIE
494 from .stanfordoc import StanfordOpenClassroomIE
495 from .steam import SteamIE
496 from .streamcloud import StreamcloudIE
497 from .streamcz import StreamCZIE
498 from .streetvoice import StreetVoiceIE
499 from .sunporno import SunPornoIE
500 from .svtplay import SVTPlayIE
501 from .swrmediathek import SWRMediathekIE
502 from .syfy import SyfyIE
503 from .sztvhu import SztvHuIE
504 from .tagesschau import TagesschauIE
505 from .tapely import TapelyIE
506 from .tass import TassIE
507 from .teachertube import (
511 from .teachingchannel import TeachingChannelIE
512 from .teamcoco import TeamcocoIE
513 from .techtalks import TechTalksIE
514 from .ted import TEDIE
515 from .telebruxelles import TeleBruxellesIE
516 from .telecinco import TelecincoIE
517 from .telemb import TeleMBIE
518 from .teletask import TeleTaskIE
519 from .tenplay import TenPlayIE
520 from .testurl import TestURLIE
521 from .testtube import TestTubeIE
522 from .tf1 import TF1IE
523 from .theonion import TheOnionIE
524 from .theplatform import ThePlatformIE
525 from .thesixtyone import TheSixtyOneIE
526 from .thisav import ThisAVIE
527 from .tinypic import TinyPicIE
528 from .tlc import TlcIE, TlcDeIE
529 from .tmz import TMZIE
530 from .tnaflix import TNAFlixIE
531 from .thvideo import (
535 from .toutv import TouTvIE
536 from .toypics import ToypicsUserIE, ToypicsIE
537 from .traileraddict import TrailerAddictIE
538 from .trilulilu import TriluliluIE
539 from .trutube import TruTubeIE
540 from .tube8 import Tube8IE
541 from .tudou import TudouIE
542 from .tumblr import TumblrIE
543 from .tunein import TuneInIE
544 from .turbo import TurboIE
545 from .tutv import TutvIE
546 from .tv4 import TV4IE
547 from .tvigle import TvigleIE
548 from .tvp import TvpIE, TvpSeriesIE
549 from .tvplay import TVPlayIE
550 from .tweakers import TweakersIE
551 from .twentyfourvideo import TwentyFourVideoIE
552 from .twentytwotracks import (
554 TwentyTwoTracksGenreIE
556 from .twitch import (
561 TwitchPastBroadcastsIE,
565 from .ubu import UbuIE
570 from .udn import UDNEmbedIE
571 from .ultimedia import UltimediaIE
572 from .unistra import UnistraIE
573 from .urort import UrortIE
574 from .ustream import UstreamIE, UstreamChannelIE
575 from .varzesh3 import Varzesh3IE
576 from .vbox7 import Vbox7IE
577 from .veehd import VeeHDIE
578 from .veoh import VeohIE
579 from .vessel import VesselIE
580 from .vesti import VestiIE
581 from .vevo import VevoIE
582 from .vgtv import VGTVIE
583 from .vh1 import VH1IE
584 from .vice import ViceIE
585 from .viddler import ViddlerIE
586 from .videobam import VideoBamIE
587 from .videodetective import VideoDetectiveIE
588 from .videolecturesnet import VideoLecturesNetIE
589 from .videofyme import VideofyMeIE
590 from .videomega import VideoMegaIE
591 from .videopremium import VideoPremiumIE
592 from .videott import VideoTtIE
593 from .videoweed import VideoWeedIE
594 from .vidme import VidmeIE
595 from .vidzi import VidziIE
596 from .vier import VierIE, VierVideosIE
597 from .viewster import ViewsterIE
608 from .vimple import VimpleIE
613 from .viki import VikiIE
618 from .vodlocker import VodlockerIE
619 from .vporn import VpornIE
620 from .vrt import VRTIE
621 from .vube import VubeIE
622 from .vuclip import VuClipIE
623 from .vulture import VultureIE
624 from .walla import WallaIE
625 from .washingtonpost import WashingtonPostIE
626 from .wat import WatIE
627 from .wayofthemaster import WayOfTheMasterIE
633 from .webofstories import WebOfStoriesIE
634 from .weibo import WeiboIE
635 from .wimp import WimpIE
636 from .wistia import WistiaIE
637 from .worldstarhiphop import WorldStarHipHopIE
638 from .wrzuta import WrzutaIE
639 from .wsj import WSJIE
640 from .xbef import XBefIE
641 from .xboxclips import XboxClipsIE
642 from .xhamster import XHamsterIE
643 from .xminus import XMinusIE
644 from .xnxx import XNXXIE
645 from .xvideos import XVideosIE
646 from .xtube import XTubeUserIE, XTubeIE
647 from .xuite import XuiteIE
648 from .xxxymovies import XXXYMoviesIE
653 from .yam import YamIE
654 from .yandexmusic import (
657 YandexMusicPlaylistIE,
659 from .yesjapan import YesJapanIE
660 from .ynet import YnetIE
661 from .youjizz import YouJizzIE
662 from .youku import YoukuIE
663 from .youporn import YouPornIE
664 from .yourupload import YourUploadIE
665 from .youtube import (
671 YoutubeRecommendedIE,
676 YoutubeSubscriptionsIE,
677 YoutubeTruncatedIDIE,
678 YoutubeTruncatedURLIE,
682 from .zapiks import ZapiksIE
683 from .zdf import ZDFIE, ZDFChannelIE
684 from .zingmp3 import (
691 for name, klass in globals().items()
692 if name.endswith('IE') and name != 'GenericIE'
694 _ALL_CLASSES.append(GenericIE)
697 def gen_extractors():
698 """ Return a list of an instance of every supported extractor.
699 The order does matter; the first extractor matched is the one handling the URL.
701 return [klass() for klass in _ALL_CLASSES]
704 def list_extractors(age_limit):
706 Return a list of extractors that are suitable for the given age,
707 sorted by extractor ID.
711 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
712 key=lambda ie: ie.IE_NAME.lower())
715 def get_info_extractor(ie_name):
716 """Returns the info extractor class with the given ie_name"""
717 return globals()[ie_name + 'IE']