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 .espn import ESPNIE
145 from .everyonesmixtape import EveryonesMixtapeIE
146 from .exfm import ExfmIE
147 from .expotv import ExpoTVIE
148 from .extremetube import ExtremeTubeIE
149 from .facebook import FacebookIE
150 from .faz import FazIE
151 from .fc2 import FC2IE
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 .karrierevideos import KarriereVideosIE
247 from .keezmovies import KeezMoviesIE
248 from .khanacademy import KhanAcademyIE
249 from .kickstarter import KickStarterIE
250 from .keek import KeekIE
251 from .kontrtube import KontrTubeIE
252 from .krasview import KrasViewIE
253 from .ku6 import Ku6IE
254 from .la7 import LA7IE
255 from .laola1tv import Laola1TvIE
261 from .libsyn import LibsynIE
262 from .lifenews import (
266 from .liveleak import LiveLeakIE
267 from .livestream import (
269 LivestreamOriginalIE,
270 LivestreamShortenerIE,
272 from .lnkgo import LnkGoIE
273 from .lrt import LRTIE
279 from .macgamestore import MacGameStoreIE
280 from .mailru import MailRuIE
281 from .malemotion import MalemotionIE
282 from .mdr import MDRIE
283 from .megavideoz import MegaVideozIE
284 from .metacafe import MetacafeIE
285 from .metacritic import MetacriticIE
286 from .mgoon import MgoonIE
287 from .minhateca import MinhatecaIE
288 from .ministrygrid import MinistryGridIE
289 from .miomio import MioMioIE
290 from .mit import TechTVMITIE, MITIE, OCWMITIE
291 from .mitele import MiTeleIE
292 from .mixcloud import MixcloudIE
293 from .mlb import MLBIE
294 from .mpora import MporaIE
295 from .moevideo import MoeVideoIE
296 from .mofosex import MofosexIE
297 from .mojvideo import MojvideoIE
298 from .moniker import MonikerIE
299 from .mooshare import MooshareIE
300 from .morningstar import MorningstarIE
301 from .motherless import MotherlessIE
302 from .motorsport import MotorsportIE
303 from .movieclips import MovieClipsIE
304 from .moviezine import MoviezineIE
305 from .movshare import MovShareIE
308 MTVServicesEmbeddedIE,
311 from .muenchentv import MuenchenTVIE
312 from .musicplayon import MusicPlayOnIE
313 from .musicvault import MusicVaultIE
314 from .muzu import MuzuTVIE
315 from .myspace import MySpaceIE, MySpaceAlbumIE
316 from .myspass import MySpassIE
317 from .myvideo import MyVideoIE
318 from .myvidster import MyVidsterIE
319 from .nationalgeographic import NationalGeographicIE
320 from .naver import NaverIE
321 from .nba import NBAIE
332 from .ndtv import NDTVIE
333 from .netzkino import NetzkinoIE
334 from .nerdcubed import NerdCubedFeedIE
335 from .nerdist import NerdistIE
336 from .newgrounds import NewgroundsIE
337 from .newstube import NewstubeIE
338 from .nextmedia import (
340 NextMediaActionNewsIE,
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 .nowtv import NowTVIE
358 from .nowvideo import NowVideoIE
371 from .ntvde import NTVDeIE
372 from .ntvru import NTVRuIE
373 from .nytimes import (
377 from .nuvid import NuvidIE
378 from .odnoklassniki import OdnoklassnikiIE
379 from .oktoberfesttv import OktoberfestTVIE
380 from .ooyala import (
384 from .openfilm import OpenFilmIE
391 from .parliamentliveuk import ParliamentLiveUKIE
392 from .patreon import PatreonIE
393 from .pbs import PBSIE
394 from .philharmoniedeparis import PhilharmonieDeParisIE
395 from .phoenix import PhoenixIE
396 from .photobucket import PhotobucketIE
397 from .planetaplay import PlanetaPlayIE
398 from .pladform import PladformIE
399 from .played import PlayedIE
400 from .playfm import PlayFMIE
401 from .playvid import PlayvidIE
402 from .playwire import PlaywireIE
403 from .podomatic import PodomaticIE
404 from .pornhd import PornHdIE
405 from .pornhub import (
409 from .pornotube import PornotubeIE
410 from .pornovoisines import PornoVoisinesIE
411 from .pornoxo import PornoXOIE
412 from .primesharetv import PrimeShareTVIE
413 from .promptfile import PromptFileIE
414 from .prosiebensat1 import ProSiebenSat1IE
415 from .puls4 import Puls4IE
416 from .pyvideo import PyvideoIE
417 from .qqmusic import (
423 from .quickvid import QuickVidIE
425 from .radiode import RadioDeIE
426 from .radiojavan import RadioJavanIE
427 from .radiobremen import RadioBremenIE
428 from .radiofrance import RadioFranceIE
429 from .rai import RaiIE
430 from .rbmaradio import RBMARadioIE
431 from .redtube import RedTubeIE
432 from .restudy import RestudyIE
433 from .reverbnation import ReverbNationIE
434 from .ringtv import RingTVIE
435 from .ro220 import Ro220IE
436 from .rottentomatoes import RottenTomatoesIE
437 from .roxwel import RoxwelIE
438 from .rtbf import RTBFIE
439 from .rte import RteIE
440 from .rtlnl import RtlNlIE
441 from .rtl2 import RTL2IE
442 from .rtp import RTPIE
443 from .rts import RTSIE
444 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
445 from .ruhd import RUHDIE
446 from .rutube import (
453 from .rutv import RUTVIE
454 from .sandia import SandiaIE
455 from .safari import (
459 from .sapo import SapoIE
460 from .savefrom import SaveFromIE
461 from .sbs import SBSIE
462 from .scivee import SciVeeIE
463 from .screencast import ScreencastIE
464 from .screencastomatic import ScreencastOMaticIE
465 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
466 from .senateisvp import SenateISVPIE
467 from .servingsys import ServingSysIE
468 from .sexu import SexuIE
469 from .sexykarma import SexyKarmaIE
470 from .shared import SharedIE
471 from .sharesix import ShareSixIE
472 from .sina import SinaIE
473 from .slideshare import SlideshareIE
474 from .slutload import SlutloadIE
475 from .smotri import (
481 from .snotr import SnotrIE
482 from .sohu import SohuIE
483 from .soompi import (
487 from .soundcloud import (
493 from .soundgasm import (
497 from .southpark import (
504 from .space import SpaceIE
505 from .spankbang import SpankBangIE
506 from .spankwire import SpankwireIE
507 from .spiegel import SpiegelIE, SpiegelArticleIE
508 from .spiegeltv import SpiegeltvIE
509 from .spike import SpikeIE
510 from .sport5 import Sport5IE
511 from .sportbox import (
515 from .sportdeutschland import SportDeutschlandIE
516 from .srf import SrfIE
517 from .srmediathek import SRMediathekIE
518 from .ssa import SSAIE
519 from .stanfordoc import StanfordOpenClassroomIE
520 from .steam import SteamIE
521 from .streamcloud import StreamcloudIE
522 from .streamcz import StreamCZIE
523 from .streetvoice import StreetVoiceIE
524 from .sunporno import SunPornoIE
529 from .swrmediathek import SWRMediathekIE
530 from .syfy import SyfyIE
531 from .sztvhu import SztvHuIE
532 from .tagesschau import TagesschauIE
533 from .tapely import TapelyIE
534 from .tass import TassIE
535 from .teachertube import (
539 from .teachingchannel import TeachingChannelIE
540 from .teamcoco import TeamcocoIE
541 from .techtalks import TechTalksIE
542 from .ted import TEDIE
543 from .telebruxelles import TeleBruxellesIE
544 from .telecinco import TelecincoIE
545 from .telemb import TeleMBIE
546 from .teletask import TeleTaskIE
547 from .tenplay import TenPlayIE
548 from .testurl import TestURLIE
549 from .testtube import TestTubeIE
550 from .tf1 import TF1IE
551 from .theonion import TheOnionIE
552 from .theplatform import ThePlatformIE
553 from .thesixtyone import TheSixtyOneIE
554 from .thisav import ThisAVIE
555 from .tinypic import TinyPicIE
556 from .tlc import TlcIE, TlcDeIE
561 from .tnaflix import TNAFlixIE
562 from .thvideo import (
566 from .toutv import TouTvIE
567 from .toypics import ToypicsUserIE, ToypicsIE
568 from .traileraddict import TrailerAddictIE
569 from .trilulilu import TriluliluIE
570 from .trutube import TruTubeIE
571 from .tube8 import Tube8IE
572 from .tudou import TudouIE
573 from .tumblr import TumblrIE
574 from .tunein import TuneInIE
575 from .turbo import TurboIE
576 from .tutv import TutvIE
581 from .tv4 import TV4IE
582 from .tvigle import TvigleIE
583 from .tvp import TvpIE, TvpSeriesIE
584 from .tvplay import TVPlayIE
585 from .tweakers import TweakersIE
586 from .twentyfourvideo import TwentyFourVideoIE
587 from .twentytwotracks import (
589 TwentyTwoTracksGenreIE
591 from .twitch import (
596 TwitchPastBroadcastsIE,
600 from .ubu import UbuIE
605 from .udn import UDNEmbedIE
606 from .ultimedia import UltimediaIE
607 from .unistra import UnistraIE
608 from .urort import UrortIE
609 from .ustream import UstreamIE, UstreamChannelIE
610 from .varzesh3 import Varzesh3IE
611 from .vbox7 import Vbox7IE
612 from .veehd import VeeHDIE
613 from .veoh import VeohIE
614 from .vessel import VesselIE
615 from .vesti import VestiIE
616 from .vevo import VevoIE
622 from .vh1 import VH1IE
623 from .vice import ViceIE
624 from .viddler import ViddlerIE
625 from .videobam import VideoBamIE
626 from .videodetective import VideoDetectiveIE
627 from .videolecturesnet import VideoLecturesNetIE
628 from .videofyme import VideofyMeIE
629 from .videomega import VideoMegaIE
630 from .videopremium import VideoPremiumIE
631 from .videott import VideoTtIE
632 from .videoweed import VideoWeedIE
633 from .vidme import VidmeIE
634 from .vidzi import VidziIE
635 from .vier import VierIE, VierVideosIE
636 from .viewster import ViewsterIE
647 from .vimple import VimpleIE
660 from .vodlocker import VodlockerIE
661 from .voicerepublic import VoiceRepublicIE
662 from .vporn import VpornIE
663 from .vrt import VRTIE
664 from .vube import VubeIE
665 from .vuclip import VuClipIE
666 from .vulture import VultureIE
667 from .walla import WallaIE
668 from .washingtonpost import WashingtonPostIE
669 from .wat import WatIE
670 from .wayofthemaster import WayOfTheMasterIE
676 from .webofstories import WebOfStoriesIE
677 from .weibo import WeiboIE
678 from .wimp import WimpIE
679 from .wistia import WistiaIE
680 from .worldstarhiphop import WorldStarHipHopIE
681 from .wrzuta import WrzutaIE
682 from .wsj import WSJIE
683 from .xbef import XBefIE
684 from .xboxclips import XboxClipsIE
685 from .xhamster import XHamsterIE
686 from .xminus import XMinusIE
687 from .xnxx import XNXXIE
688 from .xstream import XstreamIE
689 from .xtube import XTubeUserIE, XTubeIE
690 from .xuite import XuiteIE
691 from .xvideos import XVideosIE
692 from .xxxymovies import XXXYMoviesIE
697 from .yam import YamIE
698 from .yandexmusic import (
701 YandexMusicPlaylistIE,
703 from .yesjapan import YesJapanIE
704 from .ynet import YnetIE
705 from .youjizz import YouJizzIE
706 from .youku import YoukuIE
707 from .youporn import YouPornIE
708 from .yourupload import YourUploadIE
709 from .youtube import (
715 YoutubeRecommendedIE,
720 YoutubeSubscriptionsIE,
721 YoutubeTruncatedIDIE,
722 YoutubeTruncatedURLIE,
726 from .zapiks import ZapiksIE
727 from .zdf import ZDFIE, ZDFChannelIE
728 from .zingmp3 import (
735 for name, klass in globals().items()
736 if name.endswith('IE') and name != 'GenericIE'
738 _ALL_CLASSES.append(GenericIE)
741 def gen_extractors():
742 """ Return a list of an instance of every supported extractor.
743 The order does matter; the first extractor matched is the one handling the URL.
745 return [klass() for klass in _ALL_CLASSES]
748 def list_extractors(age_limit):
750 Return a list of extractors that are suitable for the given age,
751 sorted by extractor ID.
755 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
756 key=lambda ie: ie.IE_NAME.lower())
759 def get_info_extractor(ie_name):
760 """Returns the info extractor class with the given ie_name"""
761 return globals()[ie_name + 'IE']