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
39 from .atresplayer import AtresPlayerIE
40 from .atttechchannel import ATTTechChannelIE
41 from .audiomack import AudiomackIE, AudiomackAlbumIE
42 from .azubu import AzubuIE
43 from .baidu import BaiduVideoIE
44 from .bambuser import BambuserIE, BambuserChannelIE
45 from .bandcamp import BandcampIE, BandcampAlbumIE
50 from .beeg import BeegIE
51 from .behindkink import BehindKinkIE
52 from .beatportpro import BeatportProIE
53 from .bet import BetIE
54 from .bild import BildIE
55 from .bilibili import BiliBiliIE
56 from .blinkx import BlinkxIE
57 from .bliptv import BlipTVIE, BlipTVUserIE
58 from .bloomberg import BloombergIE
59 from .bpb import BpbIE
61 from .breakcom import BreakIE
62 from .brightcove import BrightcoveIE
63 from .buzzfeed import BuzzFeedIE
64 from .byutv import BYUtvIE
65 from .c56 import C56IE
66 from .camdemy import (
70 from .canal13cl import Canal13clIE
71 from .canalplus import CanalplusIE
72 from .canalc2 import Canalc2IE
73 from .cbs import CBSIE
74 from .cbsnews import CBSNewsIE
75 from .cbssports import CBSSportsIE
76 from .ccc import CCCIE
77 from .ceskatelevize import CeskaTelevizeIE
78 from .channel9 import Channel9IE
79 from .chilloutzone import ChilloutzoneIE
80 from .chirbit import (
84 from .cinchcast import CinchcastIE
85 from .cinemassacre import CinemassacreIE
86 from .clipfish import ClipfishIE
87 from .cliphunter import CliphunterIE
88 from .clipsyndicate import ClipsyndicateIE
89 from .cloudy import CloudyIE
90 from .clubic import ClubicIE
91 from .cmt import CMTIE
92 from .cnet import CNETIE
98 from .collegehumor import CollegeHumorIE
99 from .collegerama import CollegeRamaIE
100 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
101 from .comcarcoff import ComCarCoffIE
102 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
103 from .condenast import CondeNastIE
104 from .cracked import CrackedIE
105 from .criterion import CriterionIE
106 from .crooksandliars import CrooksAndLiarsIE
107 from .crunchyroll import (
109 CrunchyrollShowPlaylistIE
111 from .cspan import CSpanIE
112 from .ctsnews import CtsNewsIE
113 from .dailymotion import (
115 DailymotionPlaylistIE,
119 from .daum import DaumIE
120 from .dbtv import DBTVIE
126 from .dctp import DctpTvIE
127 from .deezer import DeezerPlaylistIE
128 from .dfb import DFBIE
129 from .dhm import DHMIE
130 from .dotsub import DotsubIE
131 from .douyutv import DouyuTVIE
132 from .dramafever import (
136 from .dreisat import DreiSatIE
137 from .drbonanza import DRBonanzaIE
138 from .drtuber import DrTuberIE
139 from .drtv import DRTVIE
140 from .dvtv import DVTVIE
141 from .dump import DumpIE
142 from .dumpert import DumpertIE
143 from .defense import DefenseGouvFrIE
144 from .discovery import DiscoveryIE
145 from .divxstage import DivxStageIE
146 from .dropbox import DropboxIE
147 from .eagleplatform import EaglePlatformIE
148 from .ebaumsworld import EbaumsWorldIE
149 from .echomsk import EchoMskIE
150 from .ehow import EHowIE
151 from .eighttracks import EightTracksIE
152 from .einthusan import EinthusanIE
153 from .eitb import EitbIE
154 from .ellentv import (
158 from .elpais import ElPaisIE
159 from .embedly import EmbedlyIE
160 from .engadget import EngadgetIE
161 from .eporner import EpornerIE
162 from .eroprofile import EroProfileIE
163 from .escapist import EscapistIE
164 from .espn import ESPNIE
165 from .esri import EsriVideoIE
166 from .everyonesmixtape import EveryonesMixtapeIE
167 from .exfm import ExfmIE
168 from .expotv import ExpoTVIE
169 from .extremetube import ExtremeTubeIE
170 from .facebook import FacebookIE
171 from .faz import FazIE
172 from .fc2 import FC2IE
173 from .firstpost import FirstpostIE
174 from .firsttv import FirstTVIE
175 from .fivemin import FiveMinIE
176 from .fivetv import FiveTVIE
181 from .flickr import FlickrIE
182 from .folketinget import FolketingetIE
183 from .footyroom import FootyRoomIE
184 from .fourtube import FourTubeIE
185 from .foxgay import FoxgayIE
186 from .foxnews import FoxNewsIE
187 from .foxsports import FoxSportsIE
188 from .franceculture import FranceCultureIE
189 from .franceinter import FranceInterIE
190 from .francetv import (
197 from .freesound import FreesoundIE
198 from .freespeech import FreespeechIE
199 from .freevideo import FreeVideoIE
200 from .funnyordie import FunnyOrDieIE
201 from .gamekings import GamekingsIE
202 from .gameone import (
206 from .gamersyde import GamersydeIE
207 from .gamespot import GameSpotIE
208 from .gamestar import GameStarIE
209 from .gametrailers import GametrailersIE
210 from .gazeta import GazetaIE
211 from .gdcvault import GDCVaultIE
212 from .generic import GenericIE
213 from .gfycat import GfycatIE
214 from .giantbomb import GiantBombIE
215 from .giga import GigaIE
216 from .glide import GlideIE
217 from .globo import GloboIE
218 from .godtube import GodTubeIE
219 from .goldenmoustache import GoldenMoustacheIE
220 from .golem import GolemIE
221 from .googleplus import GooglePlusIE
222 from .googlesearch import GoogleSearchIE
223 from .gorillavid import GorillaVidIE
224 from .goshgay import GoshgayIE
225 from .groupon import GrouponIE
226 from .hark import HarkIE
227 from .hearthisat import HearThisAtIE
228 from .heise import HeiseIE
229 from .hellporno import HellPornoIE
230 from .helsinki import HelsinkiIE
231 from .hentaistigma import HentaiStigmaIE
232 from .historicfilms import HistoricFilmsIE
233 from .history import HistoryIE
234 from .hitbox import HitboxIE, HitboxLiveIE
235 from .hornbunny import HornBunnyIE
236 from .hostingbulk import HostingBulkIE
237 from .hotnewhiphop import HotNewHipHopIE
238 from .howcast import HowcastIE
239 from .howstuffworks import HowStuffWorksIE
240 from .huffpost import HuffPostIE
241 from .hypem import HypemIE
242 from .iconosquare import IconosquareIE
243 from .ign import IGNIE, OneUPIE
252 from .ina import InaIE
253 from .indavideo import (
257 from .infoq import InfoQIE
258 from .instagram import InstagramIE, InstagramUserIE
259 from .internetvideoarchive import InternetVideoArchiveIE
260 from .iprima import IPrimaIE
261 from .iqiyi import IqiyiIE
262 from .ir90tv import Ir90TvIE
267 from .izlesene import IzleseneIE
268 from .jadorecettepub import JadoreCettePubIE
269 from .jeuxvideo import JeuxVideoIE
270 from .jove import JoveIE
271 from .jukebox import JukeboxIE
272 from .jpopsukitv import JpopsukiIE
273 from .kaltura import KalturaIE
274 from .kanalplay import KanalPlayIE
275 from .kankan import KankanIE
276 from .karaoketv import KaraoketvIE
277 from .karrierevideos import KarriereVideosIE
278 from .keezmovies import KeezMoviesIE
279 from .khanacademy import KhanAcademyIE
280 from .kickstarter import KickStarterIE
281 from .keek import KeekIE
282 from .kontrtube import KontrTubeIE
283 from .krasview import KrasViewIE
284 from .ku6 import Ku6IE
293 from .la7 import LA7IE
294 from .laola1tv import Laola1TvIE
295 from .lecture2go import Lecture2GoIE
301 from .libsyn import LibsynIE
302 from .lifenews import (
306 from .liveleak import LiveLeakIE
307 from .livestream import (
309 LivestreamOriginalIE,
310 LivestreamShortenerIE,
312 from .lnkgo import LnkGoIE
313 from .lrt import LRTIE
319 from .macgamestore import MacGameStoreIE
320 from .mailru import MailRuIE
321 from .malemotion import MalemotionIE
322 from .mdr import MDRIE
323 from .megavideoz import MegaVideozIE
324 from .metacafe import MetacafeIE
325 from .metacritic import MetacriticIE
326 from .mgoon import MgoonIE
327 from .minhateca import MinhatecaIE
328 from .ministrygrid import MinistryGridIE
329 from .miomio import MioMioIE
330 from .mit import TechTVMITIE, MITIE, OCWMITIE
331 from .mitele import MiTeleIE
332 from .mixcloud import MixcloudIE
333 from .mlb import MLBIE
334 from .mpora import MporaIE
335 from .moevideo import MoeVideoIE
336 from .mofosex import MofosexIE
337 from .mojvideo import MojvideoIE
338 from .moniker import MonikerIE
339 from .mooshare import MooshareIE
340 from .morningstar import MorningstarIE
341 from .motherless import MotherlessIE
342 from .motorsport import MotorsportIE
343 from .movieclips import MovieClipsIE
344 from .moviezine import MoviezineIE
345 from .movshare import MovShareIE
348 MTVServicesEmbeddedIE,
352 from .muenchentv import MuenchenTVIE
353 from .musicplayon import MusicPlayOnIE
354 from .musicvault import MusicVaultIE
355 from .muzu import MuzuTVIE
356 from .mwave import MwaveIE
357 from .myspace import MySpaceIE, MySpaceAlbumIE
358 from .myspass import MySpassIE
359 from .myvi import MyviIE
360 from .myvideo import MyVideoIE
361 from .myvidster import MyVidsterIE
362 from .nationalgeographic import NationalGeographicIE
363 from .naver import NaverIE
364 from .nba import NBAIE
376 from .ndtv import NDTVIE
377 from .netzkino import NetzkinoIE
378 from .nerdcubed import NerdCubedFeedIE
379 from .nerdist import NerdistIE
380 from .neteasemusic import (
383 NetEaseMusicSingerIE,
386 NetEaseMusicProgramIE,
387 NetEaseMusicDjRadioIE,
389 from .newgrounds import NewgroundsIE
390 from .newstube import NewstubeIE
391 from .nextmedia import (
393 NextMediaActionNewsIE,
396 from .nfb import NFBIE
397 from .nfl import NFLIE
403 from .niconico import NiconicoIE, NiconicoPlaylistIE
404 from .ninegag import NineGagIE
405 from .noco import NocoIE
406 from .normalboots import NormalbootsIE
407 from .nosvideo import NosVideoIE
408 from .nova import NovaIE
409 from .novamov import NovaMovIE
410 from .nowness import NownessIE
411 from .nowtv import NowTVIE
412 from .nowvideo import NowVideoIE
426 from .ntvde import NTVDeIE
427 from .ntvru import NTVRuIE
428 from .nytimes import (
432 from .nuvid import NuvidIE
433 from .odnoklassniki import OdnoklassnikiIE
434 from .oktoberfesttv import OktoberfestTVIE
435 from .onionstudios import OnionStudiosIE
436 from .ooyala import (
440 from .openfilm import OpenFilmIE
447 from .parliamentliveuk import ParliamentLiveUKIE
448 from .patreon import PatreonIE
449 from .pbs import PBSIE
450 from .periscope import (
454 from .philharmoniedeparis import PhilharmonieDeParisIE
455 from .phoenix import PhoenixIE
456 from .photobucket import PhotobucketIE
457 from .pinkbike import PinkbikeIE
458 from .planetaplay import PlanetaPlayIE
459 from .pladform import PladformIE
460 from .played import PlayedIE
461 from .playfm import PlayFMIE
462 from .playtvak import PlaytvakIE
463 from .playvid import PlayvidIE
464 from .playwire import PlaywireIE
465 from .pluralsight import (
469 from .podomatic import PodomaticIE
470 from .porn91 import Porn91IE
471 from .pornhd import PornHdIE
472 from .pornhub import (
476 from .pornotube import PornotubeIE
477 from .pornovoisines import PornoVoisinesIE
478 from .pornoxo import PornoXOIE
479 from .primesharetv import PrimeShareTVIE
480 from .promptfile import PromptFileIE
481 from .prosiebensat1 import ProSiebenSat1IE
482 from .puls4 import Puls4IE
483 from .pyvideo import PyvideoIE
484 from .qqmusic import (
491 from .quickvid import QuickVidIE
493 from .radiode import RadioDeIE
494 from .radiojavan import RadioJavanIE
495 from .radiobremen import RadioBremenIE
496 from .radiofrance import RadioFranceIE
497 from .rai import RaiIE
498 from .rbmaradio import RBMARadioIE
499 from .rds import RDSIE
500 from .redtube import RedTubeIE
501 from .restudy import RestudyIE
502 from .reverbnation import ReverbNationIE
503 from .ringtv import RingTVIE
504 from .ro220 import Ro220IE
505 from .rottentomatoes import RottenTomatoesIE
506 from .roxwel import RoxwelIE
507 from .rtbf import RTBFIE
508 from .rte import RteIE
509 from .rtlnl import RtlNlIE
510 from .rtl2 import RTL2IE
511 from .rtp import RTPIE
512 from .rts import RTSIE
513 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
514 from .rtvnh import RTVNHIE
515 from .ruhd import RUHDIE
516 from .rutube import (
523 from .rutv import RUTVIE
524 from .ruutu import RuutuIE
525 from .sandia import SandiaIE
526 from .safari import (
530 from .sapo import SapoIE
531 from .savefrom import SaveFromIE
532 from .sbs import SBSIE
533 from .scivee import SciVeeIE
534 from .screencast import ScreencastIE
535 from .screencastomatic import ScreencastOMaticIE
536 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
537 from .senateisvp import SenateISVPIE
538 from .servingsys import ServingSysIE
539 from .sexu import SexuIE
540 from .sexykarma import SexyKarmaIE
541 from .shahid import ShahidIE
542 from .shared import SharedIE
543 from .sharesix import ShareSixIE
544 from .sina import SinaIE
545 from .slideshare import SlideshareIE
546 from .slutload import SlutloadIE
547 from .smotri import (
553 from .snagfilms import (
557 from .snotr import SnotrIE
558 from .sohu import SohuIE
559 from .soompi import (
563 from .soundcloud import (
569 from .soundgasm import (
573 from .southpark import (
580 from .space import SpaceIE
581 from .spankbang import SpankBangIE
582 from .spankwire import SpankwireIE
583 from .spiegel import SpiegelIE, SpiegelArticleIE
584 from .spiegeltv import SpiegeltvIE
585 from .spike import SpikeIE
586 from .sport5 import Sport5IE
587 from .sportbox import (
591 from .sportdeutschland import SportDeutschlandIE
592 from .srf import SrfIE
593 from .srmediathek import SRMediathekIE
594 from .ssa import SSAIE
595 from .stanfordoc import StanfordOpenClassroomIE
596 from .steam import SteamIE
597 from .streamcloud import StreamcloudIE
598 from .streamcz import StreamCZIE
599 from .streetvoice import StreetVoiceIE
600 from .sunporno import SunPornoIE
605 from .swrmediathek import SWRMediathekIE
606 from .syfy import SyfyIE
607 from .sztvhu import SztvHuIE
608 from .tagesschau import TagesschauIE
609 from .tapely import TapelyIE
610 from .tass import TassIE
611 from .teachertube import (
615 from .teachingchannel import TeachingChannelIE
616 from .teamcoco import TeamcocoIE
617 from .techtalks import TechTalksIE
618 from .ted import TEDIE
619 from .telebruxelles import TeleBruxellesIE
620 from .telecinco import TelecincoIE
621 from .telegraaf import TelegraafIE
622 from .telemb import TeleMBIE
623 from .teletask import TeleTaskIE
624 from .tenplay import TenPlayIE
625 from .testurl import TestURLIE
626 from .testtube import TestTubeIE
627 from .tf1 import TF1IE
628 from .theonion import TheOnionIE
629 from .theplatform import (
633 from .thesixtyone import TheSixtyOneIE
634 from .thisamericanlife import ThisAmericanLifeIE
635 from .thisav import ThisAVIE
636 from .tinypic import TinyPicIE
637 from .tlc import TlcIE, TlcDeIE
642 from .tnaflix import (
647 from .thvideo import (
651 from .toutv import TouTvIE
652 from .toypics import ToypicsUserIE, ToypicsIE
653 from .traileraddict import TrailerAddictIE
654 from .trilulilu import TriluliluIE
655 from .trutube import TruTubeIE
656 from .tube8 import Tube8IE
657 from .tubitv import TubiTvIE
658 from .tudou import TudouIE
659 from .tumblr import TumblrIE
660 from .tunein import TuneInIE
661 from .turbo import TurboIE
662 from .tutv import TutvIE
667 from .tv4 import TV4IE
672 from .tvigle import TvigleIE
673 from .tvp import TvpIE, TvpSeriesIE
674 from .tvplay import TVPlayIE
675 from .tweakers import TweakersIE
676 from .twentyfourvideo import TwentyFourVideoIE
677 from .twentytwotracks import (
679 TwentyTwoTracksGenreIE
681 from .twitch import (
686 TwitchPastBroadcastsIE,
690 from .twitter import TwitterCardIE
691 from .ubu import UbuIE
696 from .udn import UDNEmbedIE
697 from .ultimedia import UltimediaIE
698 from .unistra import UnistraIE
699 from .urort import UrortIE
700 from .ustream import UstreamIE, UstreamChannelIE
701 from .varzesh3 import Varzesh3IE
702 from .vbox7 import Vbox7IE
703 from .veehd import VeeHDIE
704 from .veoh import VeohIE
705 from .vessel import VesselIE
706 from .vesti import VestiIE
707 from .vevo import VevoIE
713 from .vh1 import VH1IE
714 from .vice import ViceIE
715 from .viddler import ViddlerIE
716 from .videodetective import VideoDetectiveIE
717 from .videolecturesnet import VideoLecturesNetIE
718 from .videofyme import VideofyMeIE
719 from .videomega import VideoMegaIE
720 from .videopremium import VideoPremiumIE
721 from .videott import VideoTtIE
722 from .videoweed import VideoWeedIE
723 from .vidme import VidmeIE
724 from .vidzi import VidziIE
725 from .vier import VierIE, VierVideosIE
726 from .viewster import ViewsterIE
737 from .vimple import VimpleIE
750 from .vodlocker import VodlockerIE
751 from .voicerepublic import VoiceRepublicIE
752 from .vporn import VpornIE
753 from .vrt import VRTIE
754 from .vube import VubeIE
755 from .vuclip import VuClipIE
756 from .vulture import VultureIE
757 from .walla import WallaIE
758 from .washingtonpost import WashingtonPostIE
759 from .wat import WatIE
760 from .wayofthemaster import WayOfTheMasterIE
766 from .webofstories import (
768 WebOfStoriesPlaylistIE,
770 from .weibo import WeiboIE
771 from .wimp import WimpIE
772 from .wistia import WistiaIE
773 from .worldstarhiphop import WorldStarHipHopIE
774 from .wrzuta import WrzutaIE
775 from .wsj import WSJIE
776 from .xbef import XBefIE
777 from .xboxclips import XboxClipsIE
778 from .xhamster import (
782 from .xminus import XMinusIE
783 from .xnxx import XNXXIE
784 from .xstream import XstreamIE
785 from .xtube import XTubeUserIE, XTubeIE
786 from .xuite import XuiteIE
787 from .xvideos import XVideosIE
788 from .xxxymovies import XXXYMoviesIE
793 from .yam import YamIE
794 from .yandexmusic import (
797 YandexMusicPlaylistIE,
799 from .yesjapan import YesJapanIE
800 from .yinyuetai import YinYueTaiIE
801 from .ynet import YnetIE
802 from .youjizz import YouJizzIE
803 from .youku import YoukuIE
804 from .youporn import YouPornIE
805 from .yourupload import YourUploadIE
806 from .youtube import (
812 YoutubeRecommendedIE,
817 YoutubeSubscriptionsIE,
818 YoutubeTruncatedIDIE,
819 YoutubeTruncatedURLIE,
823 from .zapiks import ZapiksIE
824 from .zdf import ZDFIE, ZDFChannelIE
825 from .zingmp3 import (
832 for name, klass in globals().items()
833 if name.endswith('IE') and name != 'GenericIE'
835 _ALL_CLASSES.append(GenericIE)
838 def gen_extractors():
839 """ Return a list of an instance of every supported extractor.
840 The order does matter; the first extractor matched is the one handling the URL.
842 return [klass() for klass in _ALL_CLASSES]
845 def list_extractors(age_limit):
847 Return a list of extractors that are suitable for the given age,
848 sorted by extractor ID.
852 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
853 key=lambda ie: ie.IE_NAME.lower())
856 def get_info_extractor(ie_name):
857 """Returns the info extractor class with the given ie_name"""
858 return globals()[ie_name + 'IE']