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 .dramafever import (
119 from .dreisat import DreiSatIE
120 from .drbonanza import DRBonanzaIE
121 from .drtuber import DrTuberIE
122 from .drtv import DRTVIE
123 from .dvtv import DVTVIE
124 from .dump import DumpIE
125 from .dumpert import DumpertIE
126 from .defense import DefenseGouvFrIE
127 from .discovery import DiscoveryIE
128 from .divxstage import DivxStageIE
129 from .dropbox import DropboxIE
130 from .eagleplatform import EaglePlatformIE
131 from .ebaumsworld import EbaumsWorldIE
132 from .echomsk import EchoMskIE
133 from .ehow import EHowIE
134 from .eighttracks import EightTracksIE
135 from .einthusan import EinthusanIE
136 from .eitb import EitbIE
137 from .ellentv import (
141 from .elpais import ElPaisIE
142 from .embedly import EmbedlyIE
143 from .empflix import EMPFlixIE
144 from .engadget import EngadgetIE
145 from .eporner import EpornerIE
146 from .eroprofile import EroProfileIE
147 from .escapist import EscapistIE
148 from .espn import ESPNIE
149 from .everyonesmixtape import EveryonesMixtapeIE
150 from .exfm import ExfmIE
151 from .expotv import ExpoTVIE
152 from .extremetube import ExtremeTubeIE
153 from .facebook import FacebookIE
154 from .faz import FazIE
155 from .fc2 import FC2IE
156 from .firedrive import FiredriveIE
157 from .firstpost import FirstpostIE
158 from .firsttv import FirstTVIE
159 from .fivemin import FiveMinIE
164 from .flickr import FlickrIE
165 from .folketinget import FolketingetIE
166 from .footyroom import FootyRoomIE
167 from .fourtube import FourTubeIE
168 from .foxgay import FoxgayIE
169 from .foxnews import FoxNewsIE
170 from .foxsports import FoxSportsIE
171 from .franceculture import FranceCultureIE
172 from .franceinter import FranceInterIE
173 from .francetv import (
180 from .freesound import FreesoundIE
181 from .freespeech import FreespeechIE
182 from .freevideo import FreeVideoIE
183 from .funnyordie import FunnyOrDieIE
184 from .gamekings import GamekingsIE
185 from .gameone import (
189 from .gamersyde import GamersydeIE
190 from .gamespot import GameSpotIE
191 from .gamestar import GameStarIE
192 from .gametrailers import GametrailersIE
193 from .gazeta import GazetaIE
194 from .gdcvault import GDCVaultIE
195 from .generic import GenericIE
196 from .gfycat import GfycatIE
197 from .giantbomb import GiantBombIE
198 from .giga import GigaIE
199 from .glide import GlideIE
200 from .globo import GloboIE
201 from .godtube import GodTubeIE
202 from .goldenmoustache import GoldenMoustacheIE
203 from .golem import GolemIE
204 from .googleplus import GooglePlusIE
205 from .googlesearch import GoogleSearchIE
206 from .gorillavid import GorillaVidIE
207 from .goshgay import GoshgayIE
208 from .groupon import GrouponIE
209 from .hark import HarkIE
210 from .hearthisat import HearThisAtIE
211 from .heise import HeiseIE
212 from .hellporno import HellPornoIE
213 from .helsinki import HelsinkiIE
214 from .hentaistigma import HentaiStigmaIE
215 from .historicfilms import HistoricFilmsIE
216 from .history import HistoryIE
217 from .hitbox import HitboxIE, HitboxLiveIE
218 from .hornbunny import HornBunnyIE
219 from .hostingbulk import HostingBulkIE
220 from .hotnewhiphop import HotNewHipHopIE
221 from .howcast import HowcastIE
222 from .howstuffworks import HowStuffWorksIE
223 from .huffpost import HuffPostIE
224 from .hypem import HypemIE
225 from .iconosquare import IconosquareIE
226 from .ign import IGNIE, OneUPIE
231 from .imgur import ImgurIE
232 from .ina import InaIE
233 from .infoq import InfoQIE
234 from .instagram import InstagramIE, InstagramUserIE
235 from .internetvideoarchive import InternetVideoArchiveIE
236 from .iprima import IPrimaIE
241 from .izlesene import IzleseneIE
242 from .jadorecettepub import JadoreCettePubIE
243 from .jeuxvideo import JeuxVideoIE
244 from .jove import JoveIE
245 from .jukebox import JukeboxIE
246 from .jpopsukitv import JpopsukiIE
247 from .kaltura import KalturaIE
248 from .kanalplay import KanalPlayIE
249 from .kankan import KankanIE
250 from .karaoketv import KaraoketvIE
251 from .keezmovies import KeezMoviesIE
252 from .khanacademy import KhanAcademyIE
253 from .kickstarter import KickStarterIE
254 from .keek import KeekIE
255 from .kontrtube import KontrTubeIE
256 from .krasview import KrasViewIE
257 from .ku6 import Ku6IE
258 from .la7 import LA7IE
259 from .laola1tv import Laola1TvIE
265 from .libsyn import LibsynIE
266 from .lifenews import (
270 from .liveleak import LiveLeakIE
271 from .livestream import (
273 LivestreamOriginalIE,
274 LivestreamShortenerIE,
276 from .lnkgo import LnkGoIE
277 from .lrt import LRTIE
283 from .macgamestore import MacGameStoreIE
284 from .mailru import MailRuIE
285 from .malemotion import MalemotionIE
286 from .mdr import MDRIE
287 from .megavideoz import MegaVideozIE
288 from .metacafe import MetacafeIE
289 from .metacritic import MetacriticIE
290 from .mgoon import MgoonIE
291 from .minhateca import MinhatecaIE
292 from .ministrygrid import MinistryGridIE
293 from .miomio import MioMioIE
294 from .mit import TechTVMITIE, MITIE, OCWMITIE
295 from .mitele import MiTeleIE
296 from .mixcloud import MixcloudIE
297 from .mlb import MLBIE
298 from .mpora import MporaIE
299 from .moevideo import MoeVideoIE
300 from .mofosex import MofosexIE
301 from .mojvideo import MojvideoIE
302 from .moniker import MonikerIE
303 from .mooshare import MooshareIE
304 from .morningstar import MorningstarIE
305 from .motherless import MotherlessIE
306 from .motorsport import MotorsportIE
307 from .movieclips import MovieClipsIE
308 from .moviezine import MoviezineIE
309 from .movshare import MovShareIE
312 MTVServicesEmbeddedIE,
315 from .muenchentv import MuenchenTVIE
316 from .musicplayon import MusicPlayOnIE
317 from .musicvault import MusicVaultIE
318 from .muzu import MuzuTVIE
319 from .myspace import MySpaceIE, MySpaceAlbumIE
320 from .myspass import MySpassIE
321 from .myvideo import MyVideoIE
322 from .myvidster import MyVidsterIE
323 from .nationalgeographic import NationalGeographicIE
324 from .naver import NaverIE
325 from .nba import NBAIE
336 from .ndtv import NDTVIE
337 from .netzkino import NetzkinoIE
338 from .nerdcubed import NerdCubedFeedIE
339 from .nerdist import NerdistIE
340 from .newgrounds import NewgroundsIE
341 from .newstube import NewstubeIE
342 from .nextmedia import (
344 NextMediaActionNewsIE,
345 AppleDailyRealtimeNewsIE,
346 AppleDailyAnimationNewsIE
348 from .nfb import NFBIE
349 from .nfl import NFLIE
355 from .niconico import NiconicoIE, NiconicoPlaylistIE
356 from .ninegag import NineGagIE
357 from .noco import NocoIE
358 from .normalboots import NormalbootsIE
359 from .nosvideo import NosVideoIE
360 from .novamov import NovaMovIE
361 from .nowness import NownessIE
362 from .nowvideo import NowVideoIE
375 from .ntvde import NTVDeIE
376 from .ntvru import NTVRuIE
377 from .nytimes import (
381 from .nuvid import NuvidIE
382 from .odnoklassniki import OdnoklassnikiIE
383 from .oktoberfesttv import OktoberfestTVIE
384 from .ooyala import (
388 from .openfilm import OpenFilmIE
395 from .parliamentliveuk import ParliamentLiveUKIE
396 from .patreon import PatreonIE
397 from .pbs import PBSIE
398 from .philharmoniedeparis import PhilharmonieDeParisIE
399 from .phoenix import PhoenixIE
400 from .photobucket import PhotobucketIE
401 from .planetaplay import PlanetaPlayIE
402 from .pladform import PladformIE
403 from .played import PlayedIE
404 from .playfm import PlayFMIE
405 from .playvid import PlayvidIE
406 from .playwire import PlaywireIE
407 from .podomatic import PodomaticIE
408 from .pornhd import PornHdIE
409 from .pornhub import (
413 from .pornotube import PornotubeIE
414 from .pornovoisines import PornoVoisinesIE
415 from .pornoxo import PornoXOIE
416 from .primesharetv import PrimeShareTVIE
417 from .promptfile import PromptFileIE
418 from .prosiebensat1 import ProSiebenSat1IE
419 from .puls4 import Puls4IE
420 from .pyvideo import PyvideoIE
421 from .qqmusic import (
427 from .quickvid import QuickVidIE
429 from .radiode import RadioDeIE
430 from .radiojavan import RadioJavanIE
431 from .radiobremen import RadioBremenIE
432 from .radiofrance import RadioFranceIE
433 from .rai import RaiIE
434 from .rbmaradio import RBMARadioIE
435 from .redtube import RedTubeIE
436 from .restudy import RestudyIE
437 from .reverbnation import ReverbNationIE
438 from .ringtv import RingTVIE
439 from .ro220 import Ro220IE
440 from .rottentomatoes import RottenTomatoesIE
441 from .roxwel import RoxwelIE
442 from .rtbf import RTBFIE
443 from .rte import RteIE
444 from .rtlnl import RtlNlIE
445 from .rtlnow import RTLnowIE
446 from .rtl2 import RTL2IE
447 from .rtp import RTPIE
448 from .rts import RTSIE
449 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
450 from .ruhd import RUHDIE
451 from .rutube import (
458 from .rutv import RUTVIE
459 from .sandia import SandiaIE
460 from .safari import (
464 from .sapo import SapoIE
465 from .savefrom import SaveFromIE
466 from .sbs import SBSIE
467 from .scivee import SciVeeIE
468 from .screencast import ScreencastIE
469 from .screencastomatic import ScreencastOMaticIE
470 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
471 from .senateisvp import SenateISVPIE
472 from .servingsys import ServingSysIE
473 from .sexu import SexuIE
474 from .sexykarma import SexyKarmaIE
475 from .shared import SharedIE
476 from .sharesix import ShareSixIE
477 from .sina import SinaIE
478 from .slideshare import SlideshareIE
479 from .slutload import SlutloadIE
480 from .smotri import (
486 from .snotr import SnotrIE
487 from .sockshare import SockshareIE
488 from .sohu import SohuIE
489 from .soundcloud import (
495 from .soundgasm import (
499 from .southpark import (
506 from .space import SpaceIE
507 from .spankbang import SpankBangIE
508 from .spankwire import SpankwireIE
509 from .spiegel import SpiegelIE, SpiegelArticleIE
510 from .spiegeltv import SpiegeltvIE
511 from .spike import SpikeIE
512 from .sport5 import Sport5IE
513 from .sportbox import (
517 from .sportdeutschland import SportDeutschlandIE
518 from .srf import SrfIE
519 from .srmediathek import SRMediathekIE
520 from .ssa import SSAIE
521 from .stanfordoc import StanfordOpenClassroomIE
522 from .steam import SteamIE
523 from .streamcloud import StreamcloudIE
524 from .streamcz import StreamCZIE
525 from .streetvoice import StreetVoiceIE
526 from .sunporno import SunPornoIE
531 from .swrmediathek import SWRMediathekIE
532 from .syfy import SyfyIE
533 from .sztvhu import SztvHuIE
534 from .tagesschau import TagesschauIE
535 from .tapely import TapelyIE
536 from .tass import TassIE
537 from .teachertube import (
541 from .teachingchannel import TeachingChannelIE
542 from .teamcoco import TeamcocoIE
543 from .techtalks import TechTalksIE
544 from .ted import TEDIE
545 from .telebruxelles import TeleBruxellesIE
546 from .telecinco import TelecincoIE
547 from .telemb import TeleMBIE
548 from .teletask import TeleTaskIE
549 from .tenplay import TenPlayIE
550 from .testurl import TestURLIE
551 from .testtube import TestTubeIE
552 from .tf1 import TF1IE
553 from .theonion import TheOnionIE
554 from .theplatform import ThePlatformIE
555 from .thesixtyone import TheSixtyOneIE
556 from .thisav import ThisAVIE
557 from .tinypic import TinyPicIE
558 from .tlc import TlcIE, TlcDeIE
563 from .tnaflix import TNAFlixIE
564 from .thvideo import (
568 from .toutv import TouTvIE
569 from .toypics import ToypicsUserIE, ToypicsIE
570 from .traileraddict import TrailerAddictIE
571 from .trilulilu import TriluliluIE
572 from .trutube import TruTubeIE
573 from .tube8 import Tube8IE
574 from .tudou import TudouIE
575 from .tumblr import TumblrIE
576 from .tunein import TuneInIE
577 from .turbo import TurboIE
578 from .tutv import TutvIE
583 from .tv4 import TV4IE
584 from .tvigle import TvigleIE
585 from .tvp import TvpIE, TvpSeriesIE
586 from .tvplay import TVPlayIE
587 from .tweakers import TweakersIE
588 from .twentyfourvideo import TwentyFourVideoIE
589 from .twentytwotracks import (
591 TwentyTwoTracksGenreIE
593 from .twitch import (
598 TwitchPastBroadcastsIE,
602 from .ubu import UbuIE
607 from .udn import UDNEmbedIE
608 from .ultimedia import UltimediaIE
609 from .unistra import UnistraIE
610 from .urort import UrortIE
611 from .ustream import UstreamIE, UstreamChannelIE
612 from .varzesh3 import Varzesh3IE
613 from .vbox7 import Vbox7IE
614 from .veehd import VeeHDIE
615 from .veoh import VeohIE
616 from .vessel import VesselIE
617 from .vesti import VestiIE
618 from .vevo import VevoIE
624 from .vh1 import VH1IE
625 from .vice import ViceIE
626 from .viddler import ViddlerIE
627 from .videobam import VideoBamIE
628 from .videodetective import VideoDetectiveIE
629 from .videolecturesnet import VideoLecturesNetIE
630 from .videofyme import VideofyMeIE
631 from .videomega import VideoMegaIE
632 from .videopremium import VideoPremiumIE
633 from .videott import VideoTtIE
634 from .videoweed import VideoWeedIE
635 from .vidme import VidmeIE
636 from .vidzi import VidziIE
637 from .vier import VierIE, VierVideosIE
638 from .viewster import ViewsterIE
649 from .vimple import VimpleIE
654 from .viki import VikiIE
659 from .vodlocker import VodlockerIE
660 from .voicerepublic import VoiceRepublicIE
661 from .vporn import VpornIE
662 from .vrt import VRTIE
663 from .vube import VubeIE
664 from .vuclip import VuClipIE
665 from .vulture import VultureIE
666 from .walla import WallaIE
667 from .washingtonpost import WashingtonPostIE
668 from .wat import WatIE
669 from .wayofthemaster import WayOfTheMasterIE
675 from .webofstories import WebOfStoriesIE
676 from .weibo import WeiboIE
677 from .wimp import WimpIE
678 from .wistia import WistiaIE
679 from .worldstarhiphop import WorldStarHipHopIE
680 from .wrzuta import WrzutaIE
681 from .wsj import WSJIE
682 from .xbef import XBefIE
683 from .xboxclips import XboxClipsIE
684 from .xhamster import XHamsterIE
685 from .xminus import XMinusIE
686 from .xnxx import XNXXIE
687 from .xstream import XstreamIE
688 from .xtube import XTubeUserIE, XTubeIE
689 from .xuite import XuiteIE
690 from .xvideos import XVideosIE
691 from .xxxymovies import XXXYMoviesIE
696 from .yam import YamIE
697 from .yandexmusic import (
700 YandexMusicPlaylistIE,
702 from .yesjapan import YesJapanIE
703 from .ynet import YnetIE
704 from .youjizz import YouJizzIE
705 from .youku import YoukuIE
706 from .youporn import YouPornIE
707 from .yourupload import YourUploadIE
708 from .youtube import (
714 YoutubeRecommendedIE,
719 YoutubeSubscriptionsIE,
720 YoutubeTruncatedIDIE,
721 YoutubeTruncatedURLIE,
725 from .zapiks import ZapiksIE
726 from .zdf import ZDFIE, ZDFChannelIE
727 from .zingmp3 import (
734 for name, klass in globals().items()
735 if name.endswith('IE') and name != 'GenericIE'
737 _ALL_CLASSES.append(GenericIE)
740 def gen_extractors():
741 """ Return a list of an instance of every supported extractor.
742 The order does matter; the first extractor matched is the one handling the URL.
744 return [klass() for klass in _ALL_CLASSES]
747 def list_extractors(age_limit):
749 Return a list of extractors that are suitable for the given age,
750 sorted by extractor ID.
754 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
755 key=lambda ie: ie.IE_NAME.lower())
758 def get_info_extractor(ie_name):
759 """Returns the info extractor class with the given ie_name"""
760 return globals()[ie_name + 'IE']