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
51 from .beeg import BeegIE
52 from .behindkink import BehindKinkIE
53 from .beatportpro import BeatportProIE
54 from .bet import BetIE
55 from .bild import BildIE
56 from .bilibili import BiliBiliIE
57 from .blinkx import BlinkxIE
58 from .bliptv import BlipTVIE, BlipTVUserIE
59 from .bloomberg import BloombergIE
60 from .bpb import BpbIE
62 from .breakcom import BreakIE
63 from .brightcove import (
67 from .buzzfeed import BuzzFeedIE
68 from .byutv import BYUtvIE
69 from .c56 import C56IE
70 from .camdemy import (
74 from .canal13cl import Canal13clIE
75 from .canalplus import CanalplusIE
76 from .canalc2 import Canalc2IE
77 from .cbs import CBSIE
78 from .cbsnews import CBSNewsIE
79 from .cbssports import CBSSportsIE
80 from .ccc import CCCIE
81 from .ceskatelevize import CeskaTelevizeIE
82 from .channel9 import Channel9IE
83 from .chaturbate import ChaturbateIE
84 from .chilloutzone import ChilloutzoneIE
85 from .chirbit import (
89 from .cinchcast import CinchcastIE
90 from .cinemassacre import CinemassacreIE
91 from .clipfish import ClipfishIE
92 from .cliphunter import CliphunterIE
93 from .clipsyndicate import ClipsyndicateIE
94 from .cloudy import CloudyIE
95 from .clubic import ClubicIE
96 from .clyp import ClypIE
97 from .cmt import CMTIE
98 from .cnet import CNETIE
104 from .collegehumor import CollegeHumorIE
105 from .collegerama import CollegeRamaIE
106 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
107 from .comcarcoff import ComCarCoffIE
108 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
109 from .condenast import CondeNastIE
110 from .cracked import CrackedIE
111 from .criterion import CriterionIE
112 from .crooksandliars import CrooksAndLiarsIE
113 from .crunchyroll import (
115 CrunchyrollShowPlaylistIE
117 from .cspan import CSpanIE
118 from .ctsnews import CtsNewsIE
119 from .dailymotion import (
121 DailymotionPlaylistIE,
125 from .daum import DaumIE
126 from .dbtv import DBTVIE
127 from .dcn import DCNIE
128 from .dctp import DctpTvIE
129 from .deezer import DeezerPlaylistIE
130 from .democracynow import DemocracynowIE
131 from .dfb import DFBIE
132 from .dhm import DHMIE
133 from .dotsub import DotsubIE
134 from .douyutv import DouyuTVIE
135 from .dramafever import (
139 from .dreisat import DreiSatIE
140 from .drbonanza import DRBonanzaIE
141 from .drtuber import DrTuberIE
142 from .drtv import DRTVIE
143 from .dvtv import DVTVIE
144 from .dump import DumpIE
145 from .dumpert import DumpertIE
146 from .defense import DefenseGouvFrIE
147 from .discovery import DiscoveryIE
148 from .dropbox import DropboxIE
149 from .eagleplatform import EaglePlatformIE
150 from .ebaumsworld import EbaumsWorldIE
151 from .echomsk import EchoMskIE
152 from .ehow import EHowIE
153 from .eighttracks import EightTracksIE
154 from .einthusan import EinthusanIE
155 from .eitb import EitbIE
156 from .ellentv import (
160 from .elpais import ElPaisIE
161 from .embedly import EmbedlyIE
162 from .engadget import EngadgetIE
163 from .eporner import EpornerIE
164 from .eroprofile import EroProfileIE
165 from .escapist import EscapistIE
166 from .espn import ESPNIE
167 from .esri import EsriVideoIE
168 from .europa import EuropaIE
169 from .everyonesmixtape import EveryonesMixtapeIE
170 from .exfm import ExfmIE
171 from .expotv import ExpoTVIE
172 from .extremetube import ExtremeTubeIE
173 from .facebook import FacebookIE
174 from .faz import FazIE
175 from .fc2 import FC2IE
176 from .fczenit import FczenitIE
177 from .firstpost import FirstpostIE
178 from .firsttv import FirstTVIE
179 from .fivemin import FiveMinIE
180 from .fivetv import FiveTVIE
181 from .fktv import FKTVIE
182 from .flickr import FlickrIE
183 from .folketinget import FolketingetIE
184 from .footyroom import FootyRoomIE
185 from .fourtube import FourTubeIE
186 from .foxgay import FoxgayIE
187 from .foxnews import FoxNewsIE
188 from .foxsports import FoxSportsIE
189 from .franceculture import FranceCultureIE
190 from .franceinter import FranceInterIE
191 from .francetv import (
198 from .freesound import FreesoundIE
199 from .freespeech import FreespeechIE
200 from .freevideo import FreeVideoIE
201 from .funnyordie import FunnyOrDieIE
202 from .gamekings import GamekingsIE
203 from .gameone import (
207 from .gamersyde import GamersydeIE
208 from .gamespot import GameSpotIE
209 from .gamestar import GameStarIE
210 from .gametrailers import GametrailersIE
211 from .gazeta import GazetaIE
212 from .gdcvault import GDCVaultIE
213 from .generic import GenericIE
214 from .gfycat import GfycatIE
215 from .giantbomb import GiantBombIE
216 from .giga import GigaIE
217 from .glide import GlideIE
222 from .godtube import GodTubeIE
223 from .goldenmoustache import GoldenMoustacheIE
224 from .golem import GolemIE
225 from .googleplus import GooglePlusIE
226 from .googlesearch import GoogleSearchIE
227 from .goshgay import GoshgayIE
228 from .groupon import GrouponIE
229 from .hark import HarkIE
230 from .hearthisat import HearThisAtIE
231 from .heise import HeiseIE
232 from .hellporno import HellPornoIE
233 from .helsinki import HelsinkiIE
234 from .hentaistigma import HentaiStigmaIE
235 from .historicfilms import HistoricFilmsIE
236 from .history import HistoryIE
237 from .hitbox import HitboxIE, HitboxLiveIE
238 from .hornbunny import HornBunnyIE
239 from .hotnewhiphop import HotNewHipHopIE
240 from .howcast import HowcastIE
241 from .howstuffworks import HowStuffWorksIE
242 from .huffpost import HuffPostIE
243 from .hypem import HypemIE
244 from .iconosquare import IconosquareIE
245 from .ign import IGNIE, OneUPIE
254 from .ina import InaIE
255 from .indavideo import (
259 from .infoq import InfoQIE
260 from .instagram import InstagramIE, InstagramUserIE
261 from .internetvideoarchive import InternetVideoArchiveIE
262 from .iprima import IPrimaIE
263 from .iqiyi import IqiyiIE
264 from .ir90tv import Ir90TvIE
269 from .izlesene import IzleseneIE
270 from .jadorecettepub import JadoreCettePubIE
271 from .jeuxvideo import JeuxVideoIE
272 from .jove import JoveIE
273 from .jukebox import JukeboxIE
274 from .jpopsukitv import JpopsukiIE
275 from .kaltura import KalturaIE
276 from .kanalplay import KanalPlayIE
277 from .kankan import KankanIE
278 from .karaoketv import KaraoketvIE
279 from .karrierevideos import KarriereVideosIE
280 from .keezmovies import KeezMoviesIE
281 from .khanacademy import KhanAcademyIE
282 from .kickstarter import KickStarterIE
283 from .keek import KeekIE
284 from .kontrtube import KontrTubeIE
285 from .krasview import KrasViewIE
286 from .ku6 import Ku6IE
295 from .la7 import LA7IE
296 from .laola1tv import Laola1TvIE
297 from .lecture2go import Lecture2GoIE
303 from .libsyn import LibsynIE
304 from .lifenews import (
308 from .limelight import (
311 LimelightChannelListIE,
313 from .liveleak import LiveLeakIE
314 from .livestream import (
316 LivestreamOriginalIE,
317 LivestreamShortenerIE,
319 from .lnkgo import LnkGoIE
320 from .lrt import LRTIE
326 from .macgamestore import MacGameStoreIE
327 from .mailru import MailRuIE
328 from .malemotion import MalemotionIE
329 from .mdr import MDRIE
330 from .metacafe import MetacafeIE
331 from .metacritic import MetacriticIE
332 from .mgoon import MgoonIE
333 from .minhateca import MinhatecaIE
334 from .ministrygrid import MinistryGridIE
335 from .miomio import MioMioIE
336 from .mit import TechTVMITIE, MITIE, OCWMITIE
337 from .mitele import MiTeleIE
338 from .mixcloud import MixcloudIE
339 from .mlb import MLBIE
340 from .mpora import MporaIE
341 from .moevideo import MoeVideoIE
342 from .mofosex import MofosexIE
343 from .mojvideo import MojvideoIE
344 from .moniker import MonikerIE
345 from .mooshare import MooshareIE
346 from .morningstar import MorningstarIE
347 from .motherless import MotherlessIE
348 from .motorsport import MotorsportIE
349 from .movieclips import MovieClipsIE
350 from .moviezine import MoviezineIE
351 from .movshare import MovShareIE
354 MTVServicesEmbeddedIE,
358 from .muenchentv import MuenchenTVIE
359 from .musicplayon import MusicPlayOnIE
360 from .muzu import MuzuTVIE
361 from .mwave import MwaveIE
362 from .myspace import MySpaceIE, MySpaceAlbumIE
363 from .myspass import MySpassIE
364 from .myvi import MyviIE
365 from .myvideo import MyVideoIE
366 from .myvidster import MyVidsterIE
367 from .nationalgeographic import NationalGeographicIE
368 from .naver import NaverIE
369 from .nba import NBAIE
384 from .ndtv import NDTVIE
385 from .netzkino import NetzkinoIE
386 from .nerdcubed import NerdCubedFeedIE
387 from .nerdist import NerdistIE
388 from .neteasemusic import (
391 NetEaseMusicSingerIE,
394 NetEaseMusicProgramIE,
395 NetEaseMusicDjRadioIE,
397 from .newgrounds import NewgroundsIE
398 from .newstube import NewstubeIE
399 from .nextmedia import (
401 NextMediaActionNewsIE,
404 from .nfb import NFBIE
405 from .nfl import NFLIE
411 from .niconico import NiconicoIE, NiconicoPlaylistIE
412 from .ninegag import NineGagIE
413 from .noco import NocoIE
414 from .normalboots import NormalbootsIE
415 from .nosvideo import NosVideoIE
416 from .nova import NovaIE
417 from .novamov import NovaMovIE
418 from .nowness import (
427 from .nowvideo import NowVideoIE
441 from .ntvde import NTVDeIE
442 from .ntvru import NTVRuIE
443 from .nytimes import (
447 from .nuvid import NuvidIE
448 from .odnoklassniki import OdnoklassnikiIE
449 from .oktoberfesttv import OktoberfestTVIE
450 from .onionstudios import OnionStudiosIE
451 from .ooyala import (
461 from .parliamentliveuk import ParliamentLiveUKIE
462 from .patreon import PatreonIE
463 from .pbs import PBSIE
464 from .periscope import PeriscopeIE
465 from .philharmoniedeparis import PhilharmonieDeParisIE
466 from .phoenix import PhoenixIE
467 from .photobucket import PhotobucketIE
468 from .pinkbike import PinkbikeIE
469 from .planetaplay import PlanetaPlayIE
470 from .pladform import PladformIE
471 from .played import PlayedIE
472 from .playfm import PlayFMIE
473 from .playtvak import PlaytvakIE
474 from .playvid import PlayvidIE
475 from .playwire import PlaywireIE
476 from .pluralsight import (
480 from .podomatic import PodomaticIE
481 from .porn91 import Porn91IE
482 from .pornhd import PornHdIE
483 from .pornhub import (
487 from .pornotube import PornotubeIE
488 from .pornovoisines import PornoVoisinesIE
489 from .pornoxo import PornoXOIE
490 from .primesharetv import PrimeShareTVIE
491 from .promptfile import PromptFileIE
492 from .prosiebensat1 import ProSiebenSat1IE
493 from .puls4 import Puls4IE
494 from .pyvideo import PyvideoIE
495 from .qqmusic import (
502 from .quickvid import QuickVidIE
504 from .radiode import RadioDeIE
505 from .radiojavan import RadioJavanIE
506 from .radiobremen import RadioBremenIE
507 from .radiofrance import RadioFranceIE
508 from .rai import RaiIE
509 from .rbmaradio import RBMARadioIE
510 from .rds import RDSIE
511 from .redtube import RedTubeIE
512 from .restudy import RestudyIE
513 from .reverbnation import ReverbNationIE
514 from .ringtv import RingTVIE
515 from .ro220 import Ro220IE
516 from .rottentomatoes import RottenTomatoesIE
517 from .roxwel import RoxwelIE
518 from .rtbf import RTBFIE
519 from .rte import RteIE
520 from .rtlnl import RtlNlIE
521 from .rtl2 import RTL2IE
522 from .rtp import RTPIE
523 from .rts import RTSIE
524 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
525 from .rtvnh import RTVNHIE
526 from .ruhd import RUHDIE
527 from .rutube import (
534 from .rutv import RUTVIE
535 from .ruutu import RuutuIE
536 from .sandia import SandiaIE
537 from .safari import (
541 from .sapo import SapoIE
542 from .savefrom import SaveFromIE
543 from .sbs import SBSIE
544 from .scivee import SciVeeIE
545 from .screencast import ScreencastIE
546 from .screencastomatic import ScreencastOMaticIE
547 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
548 from .senateisvp import SenateISVPIE
549 from .servingsys import ServingSysIE
550 from .sexu import SexuIE
551 from .sexykarma import SexyKarmaIE
552 from .shahid import ShahidIE
553 from .shared import SharedIE
554 from .sharesix import ShareSixIE
555 from .sina import SinaIE
556 from .slideshare import SlideshareIE
557 from .slutload import SlutloadIE
558 from .smotri import (
564 from .snagfilms import (
568 from .snotr import SnotrIE
569 from .sohu import SohuIE
570 from .soompi import (
574 from .soundcloud import (
580 from .soundgasm import (
584 from .southpark import (
591 from .space import SpaceIE
592 from .spankbang import SpankBangIE
593 from .spankwire import SpankwireIE
594 from .spiegel import SpiegelIE, SpiegelArticleIE
595 from .spiegeltv import SpiegeltvIE
596 from .spike import SpikeIE
597 from .stitcher import StitcherIE
598 from .sport5 import Sport5IE
599 from .sportbox import (
603 from .sportdeutschland import SportDeutschlandIE
604 from .srf import SrfIE
605 from .srmediathek import SRMediathekIE
606 from .ssa import SSAIE
607 from .stanfordoc import StanfordOpenClassroomIE
608 from .steam import SteamIE
609 from .streamcloud import StreamcloudIE
610 from .streamcz import StreamCZIE
611 from .streetvoice import StreetVoiceIE
612 from .sunporno import SunPornoIE
617 from .swrmediathek import SWRMediathekIE
618 from .syfy import SyfyIE
619 from .sztvhu import SztvHuIE
620 from .tagesschau import TagesschauIE
621 from .tapely import TapelyIE
622 from .tass import TassIE
623 from .teachertube import (
627 from .teachingchannel import TeachingChannelIE
628 from .teamcoco import TeamcocoIE
629 from .techtalks import TechTalksIE
630 from .ted import TEDIE
631 from .telebruxelles import TeleBruxellesIE
632 from .telecinco import TelecincoIE
633 from .telegraaf import TelegraafIE
634 from .telemb import TeleMBIE
635 from .teletask import TeleTaskIE
636 from .tenplay import TenPlayIE
637 from .testurl import TestURLIE
638 from .testtube import TestTubeIE
639 from .tf1 import TF1IE
640 from .theonion import TheOnionIE
641 from .theplatform import (
645 from .thesixtyone import TheSixtyOneIE
646 from .thisamericanlife import ThisAmericanLifeIE
647 from .thisav import ThisAVIE
648 from .tinypic import TinyPicIE
649 from .tlc import TlcIE, TlcDeIE
654 from .tnaflix import (
659 from .thvideo import (
663 from .toutv import TouTvIE
664 from .toypics import ToypicsUserIE, ToypicsIE
665 from .traileraddict import TrailerAddictIE
666 from .trilulilu import TriluliluIE
667 from .trutube import TruTubeIE
668 from .tube8 import Tube8IE
669 from .tubitv import TubiTvIE
670 from .tudou import TudouIE
671 from .tumblr import TumblrIE
672 from .tunein import TuneInIE
673 from .turbo import TurboIE
674 from .tutv import TutvIE
679 from .tv4 import TV4IE
684 from .tvigle import TvigleIE
685 from .tvp import TvpIE, TvpSeriesIE
686 from .tvplay import TVPlayIE
687 from .tweakers import TweakersIE
688 from .twentyfourvideo import TwentyFourVideoIE
689 from .twentytwotracks import (
691 TwentyTwoTracksGenreIE
693 from .twitch import (
698 TwitchPastBroadcastsIE,
702 from .twitter import TwitterCardIE, TwitterIE
703 from .ubu import UbuIE
708 from .udn import UDNEmbedIE
709 from .ultimedia import UltimediaIE
710 from .unistra import UnistraIE
711 from .urort import UrortIE
712 from .ustream import UstreamIE, UstreamChannelIE
713 from .varzesh3 import Varzesh3IE
714 from .vbox7 import Vbox7IE
715 from .veehd import VeeHDIE
716 from .veoh import VeohIE
717 from .vessel import VesselIE
718 from .vesti import VestiIE
719 from .vevo import VevoIE
725 from .vh1 import VH1IE
726 from .vice import ViceIE
727 from .viddler import ViddlerIE
728 from .videodetective import VideoDetectiveIE
729 from .videofyme import VideofyMeIE
730 from .videomega import VideoMegaIE
731 from .videopremium import VideoPremiumIE
732 from .videott import VideoTtIE
733 from .videoweed import VideoWeedIE
734 from .vidme import VidmeIE
735 from .vidzi import VidziIE
736 from .vier import VierIE, VierVideosIE
737 from .viewster import ViewsterIE
738 from .viidea import ViideaIE
749 from .vimple import VimpleIE
762 from .vlive import VLiveIE
763 from .vodlocker import VodlockerIE
764 from .voicerepublic import VoiceRepublicIE
765 from .vporn import VpornIE
766 from .vrt import VRTIE
767 from .vube import VubeIE
768 from .vuclip import VuClipIE
769 from .vulture import VultureIE
770 from .walla import WallaIE
771 from .washingtonpost import WashingtonPostIE
772 from .wat import WatIE
773 from .wayofthemaster import WayOfTheMasterIE
779 from .webofstories import (
781 WebOfStoriesPlaylistIE,
783 from .weibo import WeiboIE
784 from .wimp import WimpIE
785 from .wistia import WistiaIE
786 from .worldstarhiphop import WorldStarHipHopIE
787 from .wrzuta import WrzutaIE
788 from .wsj import WSJIE
789 from .xbef import XBefIE
790 from .xboxclips import XboxClipsIE
791 from .xfileshare import XFileShareIE
792 from .xhamster import (
796 from .xminus import XMinusIE
797 from .xnxx import XNXXIE
798 from .xstream import XstreamIE
799 from .xtube import XTubeUserIE, XTubeIE
800 from .xuite import XuiteIE
801 from .xvideos import XVideosIE
802 from .xxxymovies import XXXYMoviesIE
807 from .yam import YamIE
808 from .yandexmusic import (
811 YandexMusicPlaylistIE,
813 from .yesjapan import YesJapanIE
814 from .yinyuetai import YinYueTaiIE
815 from .ynet import YnetIE
816 from .youjizz import YouJizzIE
817 from .youku import YoukuIE
818 from .youporn import YouPornIE
819 from .yourupload import YourUploadIE
820 from .youtube import (
826 YoutubeRecommendedIE,
831 YoutubeSubscriptionsIE,
832 YoutubeTruncatedIDIE,
833 YoutubeTruncatedURLIE,
837 from .zapiks import ZapiksIE
838 from .zdf import ZDFIE, ZDFChannelIE
839 from .zingmp3 import (
846 for name, klass in globals().items()
847 if name.endswith('IE') and name != 'GenericIE'
849 _ALL_CLASSES.append(GenericIE)
852 def gen_extractors():
853 """ Return a list of an instance of every supported extractor.
854 The order does matter; the first extractor matched is the one handling the URL.
856 return [klass() for klass in _ALL_CLASSES]
859 def list_extractors(age_limit):
861 Return a list of extractors that are suitable for the given age,
862 sorted by extractor ID.
866 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
867 key=lambda ie: ie.IE_NAME.lower())
870 def get_info_extractor(ie_name):
871 """Returns the info extractor class with the given ie_name"""
872 return globals()[ie_name + 'IE']