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 .dropbox import DropboxIE
142 from .eagleplatform import EaglePlatformIE
143 from .ebaumsworld import EbaumsWorldIE
144 from .echomsk import EchoMskIE
145 from .ehow import EHowIE
146 from .eighttracks import EightTracksIE
147 from .einthusan import EinthusanIE
148 from .eitb import EitbIE
149 from .ellentv import (
153 from .elpais import ElPaisIE
154 from .embedly import EmbedlyIE
155 from .engadget import EngadgetIE
156 from .eporner import EpornerIE
157 from .eroprofile import EroProfileIE
158 from .escapist import EscapistIE
159 from .espn import ESPNIE
160 from .esri import EsriVideoIE
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 .hotnewhiphop import HotNewHipHopIE
232 from .howcast import HowcastIE
233 from .howstuffworks import HowStuffWorksIE
234 from .huffpost import HuffPostIE
235 from .hypem import HypemIE
236 from .iconosquare import IconosquareIE
237 from .ign import IGNIE, OneUPIE
246 from .ina import InaIE
247 from .indavideo import (
251 from .infoq import InfoQIE
252 from .instagram import InstagramIE, InstagramUserIE
253 from .internetvideoarchive import InternetVideoArchiveIE
254 from .iprima import IPrimaIE
255 from .iqiyi import IqiyiIE
256 from .ir90tv import Ir90TvIE
261 from .izlesene import IzleseneIE
262 from .jadorecettepub import JadoreCettePubIE
263 from .jeuxvideo import JeuxVideoIE
264 from .jove import JoveIE
265 from .jpopsukitv import JpopsukiIE
266 from .kaltura import KalturaIE
267 from .kanalplay import KanalPlayIE
268 from .kankan import KankanIE
269 from .karaoketv import KaraoketvIE
270 from .karrierevideos import KarriereVideosIE
271 from .keezmovies import KeezMoviesIE
272 from .khanacademy import KhanAcademyIE
273 from .kickstarter import KickStarterIE
274 from .keek import KeekIE
275 from .kontrtube import KontrTubeIE
276 from .krasview import KrasViewIE
277 from .ku6 import Ku6IE
286 from .la7 import LA7IE
287 from .laola1tv import Laola1TvIE
288 from .lecture2go import Lecture2GoIE
294 from .libsyn import LibsynIE
295 from .lifenews import (
299 from .liveleak import LiveLeakIE
300 from .livestream import (
302 LivestreamOriginalIE,
303 LivestreamShortenerIE,
305 from .lnkgo import LnkGoIE
306 from .lrt import LRTIE
312 from .macgamestore import MacGameStoreIE
313 from .mailru import MailRuIE
314 from .malemotion import MalemotionIE
315 from .mdr import MDRIE
316 from .megavideoz import MegaVideozIE
317 from .metacafe import MetacafeIE
318 from .metacritic import MetacriticIE
319 from .mgoon import MgoonIE
320 from .minhateca import MinhatecaIE
321 from .ministrygrid import MinistryGridIE
322 from .miomio import MioMioIE
323 from .mit import TechTVMITIE, MITIE, OCWMITIE
324 from .mitele import MiTeleIE
325 from .mixcloud import MixcloudIE
326 from .mlb import MLBIE
327 from .mpora import MporaIE
328 from .moevideo import MoeVideoIE
329 from .mofosex import MofosexIE
330 from .mojvideo import MojvideoIE
331 from .moniker import MonikerIE
332 from .mooshare import MooshareIE
333 from .morningstar import MorningstarIE
334 from .motherless import MotherlessIE
335 from .motorsport import MotorsportIE
336 from .movieclips import MovieClipsIE
337 from .moviezine import MoviezineIE
338 from .movshare import MovShareIE
341 MTVServicesEmbeddedIE,
345 from .muenchentv import MuenchenTVIE
346 from .musicplayon import MusicPlayOnIE
347 from .muzu import MuzuTVIE
348 from .mwave import MwaveIE
349 from .myspace import MySpaceIE, MySpaceAlbumIE
350 from .myspass import MySpassIE
351 from .myvi import MyviIE
352 from .myvideo import MyVideoIE
353 from .myvidster import MyVidsterIE
354 from .nationalgeographic import NationalGeographicIE
355 from .naver import NaverIE
356 from .nba import NBAIE
371 from .ndtv import NDTVIE
372 from .netzkino import NetzkinoIE
373 from .nerdcubed import NerdCubedFeedIE
374 from .nerdist import NerdistIE
375 from .neteasemusic import (
378 NetEaseMusicSingerIE,
381 NetEaseMusicProgramIE,
382 NetEaseMusicDjRadioIE,
384 from .newgrounds import NewgroundsIE
385 from .newstube import NewstubeIE
386 from .nextmedia import (
388 NextMediaActionNewsIE,
391 from .nfb import NFBIE
392 from .nfl import NFLIE
398 from .niconico import NiconicoIE, NiconicoPlaylistIE
399 from .ninegag import NineGagIE
400 from .noco import NocoIE
401 from .normalboots import NormalbootsIE
402 from .nosvideo import NosVideoIE
403 from .nova import NovaIE
404 from .novamov import NovaMovIE
405 from .nowness import (
410 from .nowtv import NowTVIE
411 from .nowvideo import NowVideoIE
425 from .ntvde import NTVDeIE
426 from .ntvru import NTVRuIE
427 from .nytimes import (
431 from .nuvid import NuvidIE
432 from .odnoklassniki import OdnoklassnikiIE
433 from .oktoberfesttv import OktoberfestTVIE
434 from .onionstudios import OnionStudiosIE
435 from .ooyala import (
445 from .parliamentliveuk import ParliamentLiveUKIE
446 from .patreon import PatreonIE
447 from .pbs import PBSIE
448 from .periscope import (
452 from .philharmoniedeparis import PhilharmonieDeParisIE
453 from .phoenix import PhoenixIE
454 from .photobucket import PhotobucketIE
455 from .pinkbike import PinkbikeIE
456 from .planetaplay import PlanetaPlayIE
457 from .pladform import PladformIE
458 from .played import PlayedIE
459 from .playfm import PlayFMIE
460 from .playtvak import PlaytvakIE
461 from .playvid import PlayvidIE
462 from .playwire import PlaywireIE
463 from .pluralsight import (
467 from .podomatic import PodomaticIE
468 from .porn91 import Porn91IE
469 from .pornhd import PornHdIE
470 from .pornhub import (
474 from .pornotube import PornotubeIE
475 from .pornovoisines import PornoVoisinesIE
476 from .pornoxo import PornoXOIE
477 from .primesharetv import PrimeShareTVIE
478 from .promptfile import PromptFileIE
479 from .prosiebensat1 import ProSiebenSat1IE
480 from .puls4 import Puls4IE
481 from .pyvideo import PyvideoIE
482 from .qqmusic import (
489 from .quickvid import QuickVidIE
491 from .radiode import RadioDeIE
492 from .radiojavan import RadioJavanIE
493 from .radiobremen import RadioBremenIE
494 from .radiofrance import RadioFranceIE
495 from .rai import RaiIE
496 from .rbmaradio import RBMARadioIE
497 from .rds import RDSIE
498 from .redtube import RedTubeIE
499 from .restudy import RestudyIE
500 from .reverbnation import ReverbNationIE
501 from .ringtv import RingTVIE
502 from .ro220 import Ro220IE
503 from .rottentomatoes import RottenTomatoesIE
504 from .roxwel import RoxwelIE
505 from .rtbf import RTBFIE
506 from .rte import RteIE
507 from .rtlnl import RtlNlIE
508 from .rtl2 import RTL2IE
509 from .rtp import RTPIE
510 from .rts import RTSIE
511 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
512 from .rtvnh import RTVNHIE
513 from .ruhd import RUHDIE
514 from .rutube import (
521 from .rutv import RUTVIE
522 from .ruutu import RuutuIE
523 from .sandia import SandiaIE
524 from .safari import (
528 from .sapo import SapoIE
529 from .savefrom import SaveFromIE
530 from .sbs import SBSIE
531 from .scivee import SciVeeIE
532 from .screencast import ScreencastIE
533 from .screencastomatic import ScreencastOMaticIE
534 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
535 from .senateisvp import SenateISVPIE
536 from .servingsys import ServingSysIE
537 from .sexu import SexuIE
538 from .sexykarma import SexyKarmaIE
539 from .shahid import ShahidIE
540 from .shared import SharedIE
541 from .sharesix import ShareSixIE
542 from .sina import SinaIE
543 from .slideshare import SlideshareIE
544 from .slutload import SlutloadIE
545 from .smotri import (
551 from .snagfilms import (
555 from .snotr import SnotrIE
556 from .sohu import SohuIE
557 from .soompi import (
561 from .soundcloud import (
567 from .soundgasm import (
571 from .southpark import (
578 from .space import SpaceIE
579 from .spankbang import SpankBangIE
580 from .spankwire import SpankwireIE
581 from .spiegel import SpiegelIE, SpiegelArticleIE
582 from .spiegeltv import SpiegeltvIE
583 from .spike import SpikeIE
584 from .sport5 import Sport5IE
585 from .sportbox import (
589 from .sportdeutschland import SportDeutschlandIE
590 from .srf import SrfIE
591 from .srmediathek import SRMediathekIE
592 from .ssa import SSAIE
593 from .stanfordoc import StanfordOpenClassroomIE
594 from .steam import SteamIE
595 from .streamcloud import StreamcloudIE
596 from .streamcz import StreamCZIE
597 from .streetvoice import StreetVoiceIE
598 from .sunporno import SunPornoIE
603 from .swrmediathek import SWRMediathekIE
604 from .syfy import SyfyIE
605 from .sztvhu import SztvHuIE
606 from .tagesschau import TagesschauIE
607 from .tapely import TapelyIE
608 from .tass import TassIE
609 from .teachertube import (
613 from .teachingchannel import TeachingChannelIE
614 from .teamcoco import TeamcocoIE
615 from .techtalks import TechTalksIE
616 from .ted import TEDIE
617 from .telebruxelles import TeleBruxellesIE
618 from .telecinco import TelecincoIE
619 from .telegraaf import TelegraafIE
620 from .telemb import TeleMBIE
621 from .teletask import TeleTaskIE
622 from .tenplay import TenPlayIE
623 from .testurl import TestURLIE
624 from .testtube import TestTubeIE
625 from .tf1 import TF1IE
626 from .theonion import TheOnionIE
627 from .theplatform import (
631 from .thesixtyone import TheSixtyOneIE
632 from .thisamericanlife import ThisAmericanLifeIE
633 from .thisav import ThisAVIE
634 from .tinypic import TinyPicIE
635 from .tlc import TlcIE, TlcDeIE
640 from .tnaflix import (
645 from .thvideo import (
649 from .toutv import TouTvIE
650 from .toypics import ToypicsUserIE, ToypicsIE
651 from .traileraddict import TrailerAddictIE
652 from .trilulilu import TriluliluIE
653 from .trutube import TruTubeIE
654 from .tube8 import Tube8IE
655 from .tubitv import TubiTvIE
656 from .tudou import TudouIE
657 from .tumblr import TumblrIE
658 from .tunein import TuneInIE
659 from .turbo import TurboIE
660 from .tutv import TutvIE
665 from .tv4 import TV4IE
670 from .tvigle import TvigleIE
671 from .tvp import TvpIE, TvpSeriesIE
672 from .tvplay import TVPlayIE
673 from .tweakers import TweakersIE
674 from .twentyfourvideo import TwentyFourVideoIE
675 from .twentytwotracks import (
677 TwentyTwoTracksGenreIE
679 from .twitch import (
684 TwitchPastBroadcastsIE,
688 from .twitter import TwitterCardIE
689 from .ubu import UbuIE
694 from .udn import UDNEmbedIE
695 from .ultimedia import UltimediaIE
696 from .unistra import UnistraIE
697 from .urort import UrortIE
698 from .ustream import UstreamIE, UstreamChannelIE
699 from .varzesh3 import Varzesh3IE
700 from .vbox7 import Vbox7IE
701 from .veehd import VeeHDIE
702 from .veoh import VeohIE
703 from .vessel import VesselIE
704 from .vesti import VestiIE
705 from .vevo import VevoIE
711 from .vh1 import VH1IE
712 from .vice import ViceIE
713 from .viddler import ViddlerIE
714 from .videodetective import VideoDetectiveIE
715 from .videolecturesnet import VideoLecturesNetIE
716 from .videofyme import VideofyMeIE
717 from .videomega import VideoMegaIE
718 from .videopremium import VideoPremiumIE
719 from .videott import VideoTtIE
720 from .videoweed import VideoWeedIE
721 from .vidme import VidmeIE
722 from .vidzi import VidziIE
723 from .vier import VierIE, VierVideosIE
724 from .viewster import ViewsterIE
735 from .vimple import VimpleIE
748 from .vlive import VLiveIE
749 from .vodlocker import VodlockerIE
750 from .voicerepublic import VoiceRepublicIE
751 from .vporn import VpornIE
752 from .vrt import VRTIE
753 from .vube import VubeIE
754 from .vuclip import VuClipIE
755 from .vulture import VultureIE
756 from .walla import WallaIE
757 from .washingtonpost import WashingtonPostIE
758 from .wat import WatIE
759 from .wayofthemaster import WayOfTheMasterIE
765 from .webofstories import (
767 WebOfStoriesPlaylistIE,
769 from .weibo import WeiboIE
770 from .wimp import WimpIE
771 from .wistia import WistiaIE
772 from .worldstarhiphop import WorldStarHipHopIE
773 from .wrzuta import WrzutaIE
774 from .wsj import WSJIE
775 from .xbef import XBefIE
776 from .xboxclips import XboxClipsIE
777 from .xhamster import (
781 from .xminus import XMinusIE
782 from .xnxx import XNXXIE
783 from .xstream import XstreamIE
784 from .xtube import XTubeUserIE, XTubeIE
785 from .xuite import XuiteIE
786 from .xvideos import XVideosIE
787 from .xxxymovies import XXXYMoviesIE
792 from .yam import YamIE
793 from .yandexmusic import (
796 YandexMusicPlaylistIE,
798 from .yesjapan import YesJapanIE
799 from .yinyuetai import YinYueTaiIE
800 from .ynet import YnetIE
801 from .youjizz import YouJizzIE
802 from .youku import YoukuIE
803 from .youporn import YouPornIE
804 from .yourupload import YourUploadIE
805 from .youtube import (
811 YoutubeRecommendedIE,
816 YoutubeSubscriptionsIE,
817 YoutubeTruncatedIDIE,
818 YoutubeTruncatedURLIE,
822 from .zapiks import ZapiksIE
823 from .zdf import ZDFIE, ZDFChannelIE
824 from .zingmp3 import (
831 for name, klass in globals().items()
832 if name.endswith('IE') and name != 'GenericIE'
834 _ALL_CLASSES.append(GenericIE)
837 def gen_extractors():
838 """ Return a list of an instance of every supported extractor.
839 The order does matter; the first extractor matched is the one handling the URL.
841 return [klass() for klass in _ALL_CLASSES]
844 def list_extractors(age_limit):
846 Return a list of extractors that are suitable for the given age,
847 sorted by extractor ID.
851 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
852 key=lambda ie: ie.IE_NAME.lower())
855 def get_info_extractor(ie_name):
856 """Returns the info extractor class with the given ie_name"""
857 return globals()[ie_name + 'IE']