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
121 from .dcn import DCNIE
122 from .dctp import DctpTvIE
123 from .deezer import DeezerPlaylistIE
124 from .dfb import DFBIE
125 from .dhm import DHMIE
126 from .dotsub import DotsubIE
127 from .douyutv import DouyuTVIE
128 from .dramafever import (
132 from .dreisat import DreiSatIE
133 from .drbonanza import DRBonanzaIE
134 from .drtuber import DrTuberIE
135 from .drtv import DRTVIE
136 from .dvtv import DVTVIE
137 from .dump import DumpIE
138 from .dumpert import DumpertIE
139 from .defense import DefenseGouvFrIE
140 from .discovery import DiscoveryIE
141 from .divxstage import DivxStageIE
142 from .dropbox import DropboxIE
143 from .eagleplatform import EaglePlatformIE
144 from .ebaumsworld import EbaumsWorldIE
145 from .echomsk import EchoMskIE
146 from .ehow import EHowIE
147 from .eighttracks import EightTracksIE
148 from .einthusan import EinthusanIE
149 from .eitb import EitbIE
150 from .ellentv import (
154 from .elpais import ElPaisIE
155 from .embedly import EmbedlyIE
156 from .engadget import EngadgetIE
157 from .eporner import EpornerIE
158 from .eroprofile import EroProfileIE
159 from .escapist import EscapistIE
160 from .espn import ESPNIE
161 from .everyonesmixtape import EveryonesMixtapeIE
162 from .exfm import ExfmIE
163 from .expotv import ExpoTVIE
164 from .extremetube import ExtremeTubeIE
165 from .facebook import FacebookIE
166 from .faz import FazIE
167 from .fc2 import FC2IE
168 from .firstpost import FirstpostIE
169 from .firsttv import FirstTVIE
170 from .fivemin import FiveMinIE
171 from .fivetv import FiveTVIE
176 from .flickr import FlickrIE
177 from .folketinget import FolketingetIE
178 from .footyroom import FootyRoomIE
179 from .fourtube import FourTubeIE
180 from .foxgay import FoxgayIE
181 from .foxnews import FoxNewsIE
182 from .foxsports import FoxSportsIE
183 from .franceculture import FranceCultureIE
184 from .franceinter import FranceInterIE
185 from .francetv import (
192 from .freesound import FreesoundIE
193 from .freespeech import FreespeechIE
194 from .freevideo import FreeVideoIE
195 from .funnyordie import FunnyOrDieIE
196 from .gamekings import GamekingsIE
197 from .gameone import (
201 from .gamersyde import GamersydeIE
202 from .gamespot import GameSpotIE
203 from .gamestar import GameStarIE
204 from .gametrailers import GametrailersIE
205 from .gazeta import GazetaIE
206 from .gdcvault import GDCVaultIE
207 from .generic import GenericIE
208 from .gfycat import GfycatIE
209 from .giantbomb import GiantBombIE
210 from .giga import GigaIE
211 from .glide import GlideIE
212 from .globo import GloboIE
213 from .godtube import GodTubeIE
214 from .goldenmoustache import GoldenMoustacheIE
215 from .golem import GolemIE
216 from .googleplus import GooglePlusIE
217 from .googlesearch import GoogleSearchIE
218 from .gorillavid import GorillaVidIE
219 from .goshgay import GoshgayIE
220 from .groupon import GrouponIE
221 from .hark import HarkIE
222 from .hearthisat import HearThisAtIE
223 from .heise import HeiseIE
224 from .hellporno import HellPornoIE
225 from .helsinki import HelsinkiIE
226 from .hentaistigma import HentaiStigmaIE
227 from .historicfilms import HistoricFilmsIE
228 from .history import HistoryIE
229 from .hitbox import HitboxIE, HitboxLiveIE
230 from .hornbunny import HornBunnyIE
231 from .hostingbulk import HostingBulkIE
232 from .hotnewhiphop import HotNewHipHopIE
233 from .howcast import HowcastIE
234 from .howstuffworks import HowStuffWorksIE
235 from .huffpost import HuffPostIE
236 from .hypem import HypemIE
237 from .iconosquare import IconosquareIE
238 from .ign import IGNIE, OneUPIE
243 from .imgur import ImgurIE
244 from .ina import InaIE
245 from .indavideo import (
249 from .infoq import InfoQIE
250 from .instagram import InstagramIE, InstagramUserIE
251 from .internetvideoarchive import InternetVideoArchiveIE
252 from .iprima import IPrimaIE
253 from .iqiyi import IqiyiIE
254 from .ir90tv import Ir90TvIE
259 from .izlesene import IzleseneIE
260 from .jadorecettepub import JadoreCettePubIE
261 from .jeuxvideo import JeuxVideoIE
262 from .jove import JoveIE
263 from .jukebox import JukeboxIE
264 from .jpopsukitv import JpopsukiIE
265 from .kaltura import KalturaIE
266 from .kanalplay import KanalPlayIE
267 from .kankan import KankanIE
268 from .karaoketv import KaraoketvIE
269 from .karrierevideos import KarriereVideosIE
270 from .keezmovies import KeezMoviesIE
271 from .khanacademy import KhanAcademyIE
272 from .kickstarter import KickStarterIE
273 from .keek import KeekIE
274 from .kontrtube import KontrTubeIE
275 from .krasview import KrasViewIE
276 from .ku6 import Ku6IE
285 from .la7 import LA7IE
286 from .laola1tv import Laola1TvIE
287 from .lecture2go import Lecture2GoIE
293 from .libsyn import LibsynIE
294 from .lifenews import (
298 from .liveleak import LiveLeakIE
299 from .livestream import (
301 LivestreamOriginalIE,
302 LivestreamShortenerIE,
304 from .lnkgo import LnkGoIE
305 from .lrt import LRTIE
311 from .macgamestore import MacGameStoreIE
312 from .mailru import MailRuIE
313 from .malemotion import MalemotionIE
314 from .mdr import MDRIE
315 from .megavideoz import MegaVideozIE
316 from .metacafe import MetacafeIE
317 from .metacritic import MetacriticIE
318 from .mgoon import MgoonIE
319 from .minhateca import MinhatecaIE
320 from .ministrygrid import MinistryGridIE
321 from .miomio import MioMioIE
322 from .mit import TechTVMITIE, MITIE, OCWMITIE
323 from .mitele import MiTeleIE
324 from .mixcloud import MixcloudIE
325 from .mlb import MLBIE
326 from .mpora import MporaIE
327 from .moevideo import MoeVideoIE
328 from .mofosex import MofosexIE
329 from .mojvideo import MojvideoIE
330 from .moniker import MonikerIE
331 from .mooshare import MooshareIE
332 from .morningstar import MorningstarIE
333 from .motherless import MotherlessIE
334 from .motorsport import MotorsportIE
335 from .movieclips import MovieClipsIE
336 from .moviezine import MoviezineIE
337 from .movshare import MovShareIE
340 MTVServicesEmbeddedIE,
343 from .muenchentv import MuenchenTVIE
344 from .musicplayon import MusicPlayOnIE
345 from .musicvault import MusicVaultIE
346 from .muzu import MuzuTVIE
347 from .myspace import MySpaceIE, MySpaceAlbumIE
348 from .myspass import MySpassIE
349 from .myvi import MyviIE
350 from .myvideo import MyVideoIE
351 from .myvidster import MyVidsterIE
352 from .nationalgeographic import NationalGeographicIE
353 from .naver import NaverIE
354 from .nba import NBAIE
365 from .ndtv import NDTVIE
366 from .netzkino import NetzkinoIE
367 from .nerdcubed import NerdCubedFeedIE
368 from .nerdist import NerdistIE
369 from .neteasemusic import (
372 NetEaseMusicSingerIE,
375 NetEaseMusicProgramIE,
376 NetEaseMusicDjRadioIE,
378 from .newgrounds import NewgroundsIE
379 from .newstube import NewstubeIE
380 from .nextmedia import (
382 NextMediaActionNewsIE,
385 from .nfb import NFBIE
386 from .nfl import NFLIE
392 from .niconico import NiconicoIE, NiconicoPlaylistIE
393 from .ninegag import NineGagIE
394 from .noco import NocoIE
395 from .normalboots import NormalbootsIE
396 from .nosvideo import NosVideoIE
397 from .nova import NovaIE
398 from .novamov import NovaMovIE
399 from .nowness import NownessIE
400 from .nowtv import NowTVIE
401 from .nowvideo import NowVideoIE
415 from .ntvde import NTVDeIE
416 from .ntvru import NTVRuIE
417 from .nytimes import (
421 from .nuvid import NuvidIE
422 from .odnoklassniki import OdnoklassnikiIE
423 from .oktoberfesttv import OktoberfestTVIE
424 from .onionstudios import OnionStudiosIE
425 from .ooyala import (
429 from .openfilm import OpenFilmIE
436 from .parliamentliveuk import ParliamentLiveUKIE
437 from .patreon import PatreonIE
438 from .pbs import PBSIE
439 from .periscope import (
443 from .philharmoniedeparis import PhilharmonieDeParisIE
444 from .phoenix import PhoenixIE
445 from .photobucket import PhotobucketIE
446 from .pinkbike import PinkbikeIE
447 from .planetaplay import PlanetaPlayIE
448 from .pladform import PladformIE
449 from .played import PlayedIE
450 from .playfm import PlayFMIE
451 from .playvid import PlayvidIE
452 from .playwire import PlaywireIE
453 from .podomatic import PodomaticIE
454 from .porn91 import Porn91IE
455 from .pornhd import PornHdIE
456 from .pornhub import (
460 from .pornotube import PornotubeIE
461 from .pornovoisines import PornoVoisinesIE
462 from .pornoxo import PornoXOIE
463 from .primesharetv import PrimeShareTVIE
464 from .promptfile import PromptFileIE
465 from .prosiebensat1 import ProSiebenSat1IE
466 from .puls4 import Puls4IE
467 from .pyvideo import PyvideoIE
468 from .qqmusic import (
475 from .quickvid import QuickVidIE
477 from .radiode import RadioDeIE
478 from .radiojavan import RadioJavanIE
479 from .radiobremen import RadioBremenIE
480 from .radiofrance import RadioFranceIE
481 from .rai import RaiIE
482 from .rbmaradio import RBMARadioIE
483 from .rds import RDSIE
484 from .redtube import RedTubeIE
485 from .restudy import RestudyIE
486 from .reverbnation import ReverbNationIE
487 from .ringtv import RingTVIE
488 from .ro220 import Ro220IE
489 from .rottentomatoes import RottenTomatoesIE
490 from .roxwel import RoxwelIE
491 from .rtbf import RTBFIE
492 from .rte import RteIE
493 from .rtlnl import RtlNlIE
494 from .rtl2 import RTL2IE
495 from .rtp import RTPIE
496 from .rts import RTSIE
497 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
498 from .rtvnh import RTVNHIE
499 from .ruhd import RUHDIE
500 from .rutube import (
507 from .rutv import RUTVIE
508 from .ruutu import RuutuIE
509 from .sandia import SandiaIE
510 from .safari import (
514 from .sapo import SapoIE
515 from .savefrom import SaveFromIE
516 from .sbs import SBSIE
517 from .scivee import SciVeeIE
518 from .screencast import ScreencastIE
519 from .screencastomatic import ScreencastOMaticIE
520 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
521 from .senateisvp import SenateISVPIE
522 from .servingsys import ServingSysIE
523 from .sexu import SexuIE
524 from .sexykarma import SexyKarmaIE
525 from .shared import SharedIE
526 from .sharesix import ShareSixIE
527 from .sina import SinaIE
528 from .slideshare import SlideshareIE
529 from .slutload import SlutloadIE
530 from .smotri import (
536 from .snagfilms import (
540 from .snotr import SnotrIE
541 from .sohu import SohuIE
542 from .soompi import (
546 from .soundcloud import (
552 from .soundgasm import (
556 from .southpark import (
563 from .space import SpaceIE
564 from .spankbang import SpankBangIE
565 from .spankwire import SpankwireIE
566 from .spiegel import SpiegelIE, SpiegelArticleIE
567 from .spiegeltv import SpiegeltvIE
568 from .spike import SpikeIE
569 from .sport5 import Sport5IE
570 from .sportbox import (
574 from .sportdeutschland import SportDeutschlandIE
575 from .srf import SrfIE
576 from .srmediathek import SRMediathekIE
577 from .ssa import SSAIE
578 from .stanfordoc import StanfordOpenClassroomIE
579 from .steam import SteamIE
580 from .streamcloud import StreamcloudIE
581 from .streamcz import StreamCZIE
582 from .streetvoice import StreetVoiceIE
583 from .sunporno import SunPornoIE
588 from .swrmediathek import SWRMediathekIE
589 from .syfy import SyfyIE
590 from .sztvhu import SztvHuIE
591 from .tagesschau import TagesschauIE
592 from .tapely import TapelyIE
593 from .tass import TassIE
594 from .teachertube import (
598 from .teachingchannel import TeachingChannelIE
599 from .teamcoco import TeamcocoIE
600 from .techtalks import TechTalksIE
601 from .ted import TEDIE
602 from .telebruxelles import TeleBruxellesIE
603 from .telecinco import TelecincoIE
604 from .telegraaf import TelegraafIE
605 from .telemb import TeleMBIE
606 from .teletask import TeleTaskIE
607 from .tenplay import TenPlayIE
608 from .testurl import TestURLIE
609 from .testtube import TestTubeIE
610 from .tf1 import TF1IE
611 from .theonion import TheOnionIE
612 from .theplatform import ThePlatformIE
613 from .thesixtyone import TheSixtyOneIE
614 from .thisamericanlife import ThisAmericanLifeIE
615 from .thisav import ThisAVIE
616 from .tinypic import TinyPicIE
617 from .tlc import TlcIE, TlcDeIE
622 from .tnaflix import (
627 from .thvideo import (
631 from .toutv import TouTvIE
632 from .toypics import ToypicsUserIE, ToypicsIE
633 from .traileraddict import TrailerAddictIE
634 from .trilulilu import TriluliluIE
635 from .trutube import TruTubeIE
636 from .tube8 import Tube8IE
637 from .tubitv import TubiTvIE
638 from .tudou import TudouIE
639 from .tumblr import TumblrIE
640 from .tunein import TuneInIE
641 from .turbo import TurboIE
642 from .tutv import TutvIE
647 from .tv4 import TV4IE
652 from .tvigle import TvigleIE
653 from .tvp import TvpIE, TvpSeriesIE
654 from .tvplay import TVPlayIE
655 from .tweakers import TweakersIE
656 from .twentyfourvideo import TwentyFourVideoIE
657 from .twentytwotracks import (
659 TwentyTwoTracksGenreIE
661 from .twitch import (
666 TwitchPastBroadcastsIE,
670 from .twitter import TwitterCardIE
671 from .ubu import UbuIE
676 from .udn import UDNEmbedIE
677 from .ultimedia import UltimediaIE
678 from .unistra import UnistraIE
679 from .urort import UrortIE
680 from .ustream import UstreamIE, UstreamChannelIE
681 from .varzesh3 import Varzesh3IE
682 from .vbox7 import Vbox7IE
683 from .veehd import VeeHDIE
684 from .veoh import VeohIE
685 from .vessel import VesselIE
686 from .vesti import VestiIE
687 from .vevo import VevoIE
693 from .vh1 import VH1IE
694 from .vice import ViceIE
695 from .viddler import ViddlerIE
696 from .videobam import VideoBamIE
697 from .videodetective import VideoDetectiveIE
698 from .videolecturesnet import VideoLecturesNetIE
699 from .videofyme import VideofyMeIE
700 from .videomega import VideoMegaIE
701 from .videopremium import VideoPremiumIE
702 from .videott import VideoTtIE
703 from .videoweed import VideoWeedIE
704 from .vidme import VidmeIE
705 from .vidzi import VidziIE
706 from .vier import VierIE, VierVideosIE
707 from .viewster import ViewsterIE
718 from .vimple import VimpleIE
731 from .vodlocker import VodlockerIE
732 from .voicerepublic import VoiceRepublicIE
733 from .vporn import VpornIE
734 from .vrt import VRTIE
735 from .vube import VubeIE
736 from .vuclip import VuClipIE
737 from .vulture import VultureIE
738 from .walla import WallaIE
739 from .washingtonpost import WashingtonPostIE
740 from .wat import WatIE
741 from .wayofthemaster import WayOfTheMasterIE
747 from .webofstories import (
749 WebOfStoriesPlaylistIE,
751 from .weibo import WeiboIE
752 from .wimp import WimpIE
753 from .wistia import WistiaIE
754 from .worldstarhiphop import WorldStarHipHopIE
755 from .wrzuta import WrzutaIE
756 from .wsj import WSJIE
757 from .xbef import XBefIE
758 from .xboxclips import XboxClipsIE
759 from .xhamster import (
763 from .xminus import XMinusIE
764 from .xnxx import XNXXIE
765 from .xstream import XstreamIE
766 from .xtube import XTubeUserIE, XTubeIE
767 from .xuite import XuiteIE
768 from .xvideos import XVideosIE
769 from .xxxymovies import XXXYMoviesIE
774 from .yam import YamIE
775 from .yandexmusic import (
778 YandexMusicPlaylistIE,
780 from .yesjapan import YesJapanIE
781 from .yinyuetai import YinYueTaiIE
782 from .ynet import YnetIE
783 from .youjizz import YouJizzIE
784 from .youku import YoukuIE
785 from .youporn import YouPornIE
786 from .yourupload import YourUploadIE
787 from .youtube import (
793 YoutubeRecommendedIE,
798 YoutubeSubscriptionsIE,
799 YoutubeTruncatedIDIE,
800 YoutubeTruncatedURLIE,
804 from .zapiks import ZapiksIE
805 from .zdf import ZDFIE, ZDFChannelIE
806 from .zingmp3 import (
813 for name, klass in globals().items()
814 if name.endswith('IE') and name != 'GenericIE'
816 _ALL_CLASSES.append(GenericIE)
819 def gen_extractors():
820 """ Return a list of an instance of every supported extractor.
821 The order does matter; the first extractor matched is the one handling the URL.
823 return [klass() for klass in _ALL_CLASSES]
826 def list_extractors(age_limit):
828 Return a list of extractors that are suitable for the given age,
829 sorted by extractor ID.
833 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
834 key=lambda ie: ie.IE_NAME.lower())
837 def get_info_extractor(ie_name):
838 """Returns the info extractor class with the given ie_name"""
839 return globals()[ie_name + 'IE']