1 from __future__ import unicode_literals
4 from .abc7news import Abc7NewsIE
5 from .academicearth import AcademicEarthCourseIE
6 from .addanime import AddAnimeIE
11 from .adultswim import AdultSwimIE
12 from .aftenposten import AftenpostenIE
13 from .aftonbladet import AftonbladetIE
14 from .airmozilla import AirMozillaIE
15 from .aljazeera import AlJazeeraIE
16 from .alphaporno import AlphaPornoIE
17 from .anitube import AnitubeIE
18 from .anysex import AnySexIE
19 from .aol import AolIE
20 from .allocine import AllocineIE
21 from .aparat import AparatIE
22 from .appleconnect import AppleConnectIE
23 from .appletrailers import AppleTrailersIE
24 from .archiveorg import ArchiveOrgIE
25 from .ard import ARDIE, ARDMediathekIE
35 from .atresplayer import AtresPlayerIE
36 from .atttechchannel import ATTTechChannelIE
37 from .audiomack import AudiomackIE, AudiomackAlbumIE
38 from .azubu import AzubuIE
39 from .baidu import BaiduVideoIE
40 from .bambuser import BambuserIE, BambuserChannelIE
41 from .bandcamp import BandcampIE, BandcampAlbumIE
42 from .bbccouk import BBCCoUkIE
43 from .beeg import BeegIE
44 from .behindkink import BehindKinkIE
45 from .beatportpro import BeatportProIE
46 from .bet import BetIE
47 from .bild import BildIE
48 from .bilibili import BiliBiliIE
49 from .blinkx import BlinkxIE
50 from .bliptv import BlipTVIE, BlipTVUserIE
51 from .bloomberg import BloombergIE
52 from .bpb import BpbIE
54 from .breakcom import BreakIE
55 from .brightcove import BrightcoveIE
56 from .buzzfeed import BuzzFeedIE
57 from .byutv import BYUtvIE
58 from .c56 import C56IE
59 from .camdemy import (
63 from .canal13cl import Canal13clIE
64 from .canalplus import CanalplusIE
65 from .canalc2 import Canalc2IE
66 from .cbs import CBSIE
67 from .cbsnews import CBSNewsIE
68 from .cbssports import CBSSportsIE
69 from .ccc import CCCIE
70 from .ceskatelevize import CeskaTelevizeIE
71 from .channel9 import Channel9IE
72 from .chilloutzone import ChilloutzoneIE
73 from .chirbit import (
77 from .cinchcast import CinchcastIE
78 from .cinemassacre import CinemassacreIE
79 from .clipfish import ClipfishIE
80 from .cliphunter import CliphunterIE
81 from .clipsyndicate import ClipsyndicateIE
82 from .cloudy import CloudyIE
83 from .clubic import ClubicIE
84 from .cmt import CMTIE
85 from .cnet import CNETIE
91 from .collegehumor import CollegeHumorIE
92 from .collegerama import CollegeRamaIE
93 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
94 from .comcarcoff import ComCarCoffIE
95 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
96 from .condenast import CondeNastIE
97 from .cracked import CrackedIE
98 from .criterion import CriterionIE
99 from .crooksandliars import CrooksAndLiarsIE
100 from .crunchyroll import (
102 CrunchyrollShowPlaylistIE
104 from .cspan import CSpanIE
105 from .ctsnews import CtsNewsIE
106 from .dailymotion import (
108 DailymotionPlaylistIE,
112 from .daum import DaumIE
113 from .dbtv import DBTVIE
114 from .dctp import DctpTvIE
115 from .deezer import DeezerPlaylistIE
116 from .dfb import DFBIE
117 from .dhm import DHMIE
118 from .dotsub import DotsubIE
119 from .douyutv import DouyuTVIE
120 from .dramafever import (
124 from .dreisat import DreiSatIE
125 from .drbonanza import DRBonanzaIE
126 from .drtuber import DrTuberIE
127 from .drtv import DRTVIE
128 from .dvtv import DVTVIE
129 from .dump import DumpIE
130 from .dumpert import DumpertIE
131 from .defense import DefenseGouvFrIE
132 from .discovery import DiscoveryIE
133 from .divxstage import DivxStageIE
134 from .dropbox import DropboxIE
135 from .eagleplatform import EaglePlatformIE
136 from .ebaumsworld import EbaumsWorldIE
137 from .echomsk import EchoMskIE
138 from .ehow import EHowIE
139 from .eighttracks import EightTracksIE
140 from .einthusan import EinthusanIE
141 from .eitb import EitbIE
142 from .ellentv import (
146 from .elpais import ElPaisIE
147 from .embedly import EmbedlyIE
148 from .engadget import EngadgetIE
149 from .eporner import EpornerIE
150 from .eroprofile import EroProfileIE
151 from .escapist import EscapistIE
152 from .espn import ESPNIE
153 from .everyonesmixtape import EveryonesMixtapeIE
154 from .exfm import ExfmIE
155 from .expotv import ExpoTVIE
156 from .extremetube import ExtremeTubeIE
157 from .facebook import FacebookIE
158 from .faz import FazIE
159 from .fc2 import FC2IE
160 from .firstpost import FirstpostIE
161 from .firsttv import FirstTVIE
162 from .fivemin import FiveMinIE
163 from .fivetv import FiveTVIE
168 from .flickr import FlickrIE
169 from .folketinget import FolketingetIE
170 from .footyroom import FootyRoomIE
171 from .fourtube import FourTubeIE
172 from .foxgay import FoxgayIE
173 from .foxnews import FoxNewsIE
174 from .foxsports import FoxSportsIE
175 from .franceculture import FranceCultureIE
176 from .franceinter import FranceInterIE
177 from .francetv import (
184 from .freesound import FreesoundIE
185 from .freespeech import FreespeechIE
186 from .freevideo import FreeVideoIE
187 from .funnyordie import FunnyOrDieIE
188 from .gamekings import GamekingsIE
189 from .gameone import (
193 from .gamersyde import GamersydeIE
194 from .gamespot import GameSpotIE
195 from .gamestar import GameStarIE
196 from .gametrailers import GametrailersIE
197 from .gazeta import GazetaIE
198 from .gdcvault import GDCVaultIE
199 from .generic import GenericIE
200 from .gfycat import GfycatIE
201 from .giantbomb import GiantBombIE
202 from .giga import GigaIE
203 from .glide import GlideIE
204 from .globo import GloboIE
205 from .godtube import GodTubeIE
206 from .goldenmoustache import GoldenMoustacheIE
207 from .golem import GolemIE
208 from .googleplus import GooglePlusIE
209 from .googlesearch import GoogleSearchIE
210 from .gorillavid import GorillaVidIE
211 from .goshgay import GoshgayIE
212 from .groupon import GrouponIE
213 from .hark import HarkIE
214 from .hearthisat import HearThisAtIE
215 from .heise import HeiseIE
216 from .hellporno import HellPornoIE
217 from .helsinki import HelsinkiIE
218 from .hentaistigma import HentaiStigmaIE
219 from .historicfilms import HistoricFilmsIE
220 from .history import HistoryIE
221 from .hitbox import HitboxIE, HitboxLiveIE
222 from .hornbunny import HornBunnyIE
223 from .hostingbulk import HostingBulkIE
224 from .hotnewhiphop import HotNewHipHopIE
225 from .howcast import HowcastIE
226 from .howstuffworks import HowStuffWorksIE
227 from .huffpost import HuffPostIE
228 from .hypem import HypemIE
229 from .iconosquare import IconosquareIE
230 from .ign import IGNIE, OneUPIE
235 from .imgur import ImgurIE
236 from .ina import InaIE
237 from .infoq import InfoQIE
238 from .instagram import InstagramIE, InstagramUserIE
239 from .internetvideoarchive import InternetVideoArchiveIE
240 from .iprima import IPrimaIE
241 from .iqiyi import IqiyiIE
246 from .izlesene import IzleseneIE
247 from .jadorecettepub import JadoreCettePubIE
248 from .jeuxvideo import JeuxVideoIE
249 from .jove import JoveIE
250 from .jukebox import JukeboxIE
251 from .jpopsukitv import JpopsukiIE
252 from .kaltura import KalturaIE
253 from .kanalplay import KanalPlayIE
254 from .kankan import KankanIE
255 from .karaoketv import KaraoketvIE
256 from .karrierevideos import KarriereVideosIE
257 from .keezmovies import KeezMoviesIE
258 from .khanacademy import KhanAcademyIE
259 from .kickstarter import KickStarterIE
260 from .keek import KeekIE
261 from .kontrtube import KontrTubeIE
262 from .krasview import KrasViewIE
263 from .ku6 import Ku6IE
272 from .la7 import LA7IE
273 from .laola1tv import Laola1TvIE
279 from .libsyn import LibsynIE
280 from .lifenews import (
284 from .liveleak import LiveLeakIE
285 from .livestream import (
287 LivestreamOriginalIE,
288 LivestreamShortenerIE,
290 from .lnkgo import LnkGoIE
291 from .lrt import LRTIE
297 from .macgamestore import MacGameStoreIE
298 from .mailru import MailRuIE
299 from .malemotion import MalemotionIE
300 from .mdr import MDRIE
301 from .megavideoz import MegaVideozIE
302 from .metacafe import MetacafeIE
303 from .metacritic import MetacriticIE
304 from .mgoon import MgoonIE
305 from .minhateca import MinhatecaIE
306 from .ministrygrid import MinistryGridIE
307 from .miomio import MioMioIE
308 from .mit import TechTVMITIE, MITIE, OCWMITIE
309 from .mitele import MiTeleIE
310 from .mixcloud import MixcloudIE
311 from .mlb import MLBIE
312 from .mpora import MporaIE
313 from .moevideo import MoeVideoIE
314 from .mofosex import MofosexIE
315 from .mojvideo import MojvideoIE
316 from .moniker import MonikerIE
317 from .mooshare import MooshareIE
318 from .morningstar import MorningstarIE
319 from .motherless import MotherlessIE
320 from .motorsport import MotorsportIE
321 from .movieclips import MovieClipsIE
322 from .moviezine import MoviezineIE
323 from .movshare import MovShareIE
326 MTVServicesEmbeddedIE,
329 from .muenchentv import MuenchenTVIE
330 from .musicplayon import MusicPlayOnIE
331 from .musicvault import MusicVaultIE
332 from .muzu import MuzuTVIE
333 from .myspace import MySpaceIE, MySpaceAlbumIE
334 from .myspass import MySpassIE
335 from .myvi import MyviIE
336 from .myvideo import MyVideoIE
337 from .myvidster import MyVidsterIE
338 from .nationalgeographic import NationalGeographicIE
339 from .naver import NaverIE
340 from .nba import NBAIE
351 from .ndtv import NDTVIE
352 from .netzkino import NetzkinoIE
353 from .nerdcubed import NerdCubedFeedIE
354 from .nerdist import NerdistIE
355 from .neteasemusic import (
358 NetEaseMusicSingerIE,
361 NetEaseMusicProgramIE,
362 NetEaseMusicDjRadioIE,
364 from .newgrounds import NewgroundsIE
365 from .newstube import NewstubeIE
366 from .nextmedia import (
368 NextMediaActionNewsIE,
371 from .nfb import NFBIE
372 from .nfl import NFLIE
378 from .niconico import NiconicoIE, NiconicoPlaylistIE
379 from .ninegag import NineGagIE
380 from .noco import NocoIE
381 from .normalboots import NormalbootsIE
382 from .nosvideo import NosVideoIE
383 from .nova import NovaIE
384 from .novamov import NovaMovIE
385 from .nowness import NownessIE
386 from .nowtv import NowTVIE
387 from .nowvideo import NowVideoIE
401 from .ntvde import NTVDeIE
402 from .ntvru import NTVRuIE
403 from .nytimes import (
407 from .nuvid import NuvidIE
408 from .odnoklassniki import OdnoklassnikiIE
409 from .oktoberfesttv import OktoberfestTVIE
410 from .onionstudios import OnionStudiosIE
411 from .ooyala import (
415 from .openfilm import OpenFilmIE
422 from .parliamentliveuk import ParliamentLiveUKIE
423 from .patreon import PatreonIE
424 from .pbs import PBSIE
425 from .philharmoniedeparis import PhilharmonieDeParisIE
426 from .phoenix import PhoenixIE
427 from .photobucket import PhotobucketIE
428 from .pinkbike import PinkbikeIE
429 from .planetaplay import PlanetaPlayIE
430 from .pladform import PladformIE
431 from .played import PlayedIE
432 from .playfm import PlayFMIE
433 from .playvid import PlayvidIE
434 from .playwire import PlaywireIE
435 from .podomatic import PodomaticIE
436 from .porn91 import Porn91IE
437 from .pornhd import PornHdIE
438 from .pornhub import (
442 from .pornotube import PornotubeIE
443 from .pornovoisines import PornoVoisinesIE
444 from .pornoxo import PornoXOIE
445 from .primesharetv import PrimeShareTVIE
446 from .promptfile import PromptFileIE
447 from .prosiebensat1 import ProSiebenSat1IE
448 from .puls4 import Puls4IE
449 from .pyvideo import PyvideoIE
450 from .qqmusic import (
457 from .quickvid import QuickVidIE
459 from .radiode import RadioDeIE
460 from .radiojavan import RadioJavanIE
461 from .radiobremen import RadioBremenIE
462 from .radiofrance import RadioFranceIE
463 from .rai import RaiIE
464 from .rbmaradio import RBMARadioIE
465 from .rds import RDSIE
466 from .redtube import RedTubeIE
467 from .restudy import RestudyIE
468 from .reverbnation import ReverbNationIE
469 from .ringtv import RingTVIE
470 from .ro220 import Ro220IE
471 from .rottentomatoes import RottenTomatoesIE
472 from .roxwel import RoxwelIE
473 from .rtbf import RTBFIE
474 from .rte import RteIE
475 from .rtlnl import RtlNlIE
476 from .rtl2 import RTL2IE
477 from .rtp import RTPIE
478 from .rts import RTSIE
479 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
480 from .ruhd import RUHDIE
481 from .rutube import (
488 from .rutv import RUTVIE
489 from .ruutu import RuutuIE
490 from .sandia import SandiaIE
491 from .safari import (
495 from .sapo import SapoIE
496 from .savefrom import SaveFromIE
497 from .sbs import SBSIE
498 from .scivee import SciVeeIE
499 from .screencast import ScreencastIE
500 from .screencastomatic import ScreencastOMaticIE
501 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
502 from .senateisvp import SenateISVPIE
503 from .servingsys import ServingSysIE
504 from .sexu import SexuIE
505 from .sexykarma import SexyKarmaIE
506 from .shared import SharedIE
507 from .sharesix import ShareSixIE
508 from .sina import SinaIE
509 from .slideshare import SlideshareIE
510 from .slutload import SlutloadIE
511 from .smotri import (
517 from .snagfilms import (
521 from .snotr import SnotrIE
522 from .sohu import SohuIE
523 from .soompi import (
527 from .soundcloud import (
533 from .soundgasm import (
537 from .southpark import (
544 from .space import SpaceIE
545 from .spankbang import SpankBangIE
546 from .spankwire import SpankwireIE
547 from .spiegel import SpiegelIE, SpiegelArticleIE
548 from .spiegeltv import SpiegeltvIE
549 from .spike import SpikeIE
550 from .sport5 import Sport5IE
551 from .sportbox import (
555 from .sportdeutschland import SportDeutschlandIE
556 from .sportschau import SportschauIE
557 from .srf import SrfIE
558 from .srmediathek import SRMediathekIE
559 from .ssa import SSAIE
560 from .stanfordoc import StanfordOpenClassroomIE
561 from .steam import SteamIE
562 from .streamcloud import StreamcloudIE
563 from .streamcz import StreamCZIE
564 from .streetvoice import StreetVoiceIE
565 from .sunporno import SunPornoIE
570 from .swrmediathek import SWRMediathekIE
571 from .syfy import SyfyIE
572 from .sztvhu import SztvHuIE
573 from .tagesschau import TagesschauIE
574 from .tapely import TapelyIE
575 from .tass import TassIE
576 from .teachertube import (
580 from .teachingchannel import TeachingChannelIE
581 from .teamcoco import TeamcocoIE
582 from .techtalks import TechTalksIE
583 from .ted import TEDIE
584 from .telebruxelles import TeleBruxellesIE
585 from .telecinco import TelecincoIE
586 from .telemb import TeleMBIE
587 from .teletask import TeleTaskIE
588 from .tenplay import TenPlayIE
589 from .testurl import TestURLIE
590 from .testtube import TestTubeIE
591 from .tf1 import TF1IE
592 from .theonion import TheOnionIE
593 from .theplatform import ThePlatformIE
594 from .thesixtyone import TheSixtyOneIE
595 from .thisamericanlife import ThisAmericanLifeIE
596 from .thisav import ThisAVIE
597 from .tinypic import TinyPicIE
598 from .tlc import TlcIE, TlcDeIE
603 from .tnaflix import (
608 from .thvideo import (
612 from .toutv import TouTvIE
613 from .toypics import ToypicsUserIE, ToypicsIE
614 from .traileraddict import TrailerAddictIE
615 from .trilulilu import TriluliluIE
616 from .trutube import TruTubeIE
617 from .tube8 import Tube8IE
618 from .tubitv import TubiTvIE
619 from .tudou import TudouIE
620 from .tumblr import TumblrIE
621 from .tunein import TuneInIE
622 from .turbo import TurboIE
623 from .tutv import TutvIE
628 from .tv4 import TV4IE
633 from .tvigle import TvigleIE
634 from .tvp import TvpIE, TvpSeriesIE
635 from .tvplay import TVPlayIE
636 from .tweakers import TweakersIE
637 from .twentyfourvideo import TwentyFourVideoIE
638 from .twentytwotracks import (
640 TwentyTwoTracksGenreIE
642 from .twitch import (
647 TwitchPastBroadcastsIE,
651 from .twitter import TwitterCardIE
652 from .ubu import UbuIE
657 from .udn import UDNEmbedIE
658 from .ultimedia import UltimediaIE
659 from .unistra import UnistraIE
660 from .urort import UrortIE
661 from .ustream import UstreamIE, UstreamChannelIE
662 from .varzesh3 import Varzesh3IE
663 from .vbox7 import Vbox7IE
664 from .veehd import VeeHDIE
665 from .veoh import VeohIE
666 from .vessel import VesselIE
667 from .vesti import VestiIE
668 from .vevo import VevoIE
674 from .vh1 import VH1IE
675 from .vice import ViceIE
676 from .viddler import ViddlerIE
677 from .videobam import VideoBamIE
678 from .videodetective import VideoDetectiveIE
679 from .videolecturesnet import VideoLecturesNetIE
680 from .videofyme import VideofyMeIE
681 from .videomega import VideoMegaIE
682 from .videopremium import VideoPremiumIE
683 from .videott import VideoTtIE
684 from .videoweed import VideoWeedIE
685 from .vidme import VidmeIE
686 from .vidzi import VidziIE
687 from .vier import VierIE, VierVideosIE
688 from .viewster import ViewsterIE
699 from .vimple import VimpleIE
712 from .vodlocker import VodlockerIE
713 from .voicerepublic import VoiceRepublicIE
714 from .vporn import VpornIE
715 from .vrt import VRTIE
716 from .vube import VubeIE
717 from .vuclip import VuClipIE
718 from .vulture import VultureIE
719 from .walla import WallaIE
720 from .washingtonpost import WashingtonPostIE
721 from .wat import WatIE
722 from .wayofthemaster import WayOfTheMasterIE
728 from .webofstories import (
730 WebOfStoriesPlaylistIE,
732 from .weibo import WeiboIE
733 from .wimp import WimpIE
734 from .wistia import WistiaIE
735 from .worldstarhiphop import WorldStarHipHopIE
736 from .wrzuta import WrzutaIE
737 from .wsj import WSJIE
738 from .xbef import XBefIE
739 from .xboxclips import XboxClipsIE
740 from .xhamster import (
744 from .xminus import XMinusIE
745 from .xnxx import XNXXIE
746 from .xstream import XstreamIE
747 from .xtube import XTubeUserIE, XTubeIE
748 from .xuite import XuiteIE
749 from .xvideos import XVideosIE
750 from .xxxymovies import XXXYMoviesIE
755 from .yam import YamIE
756 from .yandexmusic import (
759 YandexMusicPlaylistIE,
761 from .yesjapan import YesJapanIE
762 from .yinyuetai import YinYueTaiIE
763 from .ynet import YnetIE
764 from .youjizz import YouJizzIE
765 from .youku import YoukuIE
766 from .youporn import YouPornIE
767 from .yourupload import YourUploadIE
768 from .youtube import (
774 YoutubeRecommendedIE,
779 YoutubeSubscriptionsIE,
780 YoutubeTruncatedIDIE,
781 YoutubeTruncatedURLIE,
785 from .zapiks import ZapiksIE
786 from .zdf import ZDFIE, ZDFChannelIE
787 from .zingmp3 import (
794 for name, klass in globals().items()
795 if name.endswith('IE') and name != 'GenericIE'
797 _ALL_CLASSES.append(GenericIE)
800 def gen_extractors():
801 """ Return a list of an instance of every supported extractor.
802 The order does matter; the first extractor matched is the one handling the URL.
804 return [klass() for klass in _ALL_CLASSES]
807 def list_extractors(age_limit):
809 Return a list of extractors that are suitable for the given age,
810 sorted by extractor ID.
814 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
815 key=lambda ie: ie.IE_NAME.lower())
818 def get_info_extractor(ie_name):
819 """Returns the info extractor class with the given ie_name"""
820 return globals()[ie_name + 'IE']