1 from __future__ import unicode_literals
4 from .abc7news import Abc7NewsIE
5 from .academicearth import AcademicEarthCourseIE
10 from .addanime import AddAnimeIE
11 from .adobetv import (
17 from .adultswim import AdultSwimIE
18 from .aftonbladet import AftonbladetIE
19 from .airmozilla import AirMozillaIE
20 from .aljazeera import AlJazeeraIE
21 from .alphaporno import AlphaPornoIE
22 from .anitube import AnitubeIE
23 from .anysex import AnySexIE
24 from .aol import AolIE
25 from .allocine import AllocineIE
26 from .aparat import AparatIE
27 from .appleconnect import AppleConnectIE
28 from .appletrailers import (
30 AppleTrailersSectionIE,
32 from .archiveorg import ArchiveOrgIE
47 from .atresplayer import AtresPlayerIE
48 from .atttechchannel import ATTTechChannelIE
49 from .audimedia import AudiMediaIE
50 from .audiomack import AudiomackIE, AudiomackAlbumIE
51 from .azubu import AzubuIE
52 from .baidu import BaiduVideoIE
53 from .bambuser import BambuserIE, BambuserChannelIE
54 from .bandcamp import BandcampIE, BandcampAlbumIE
60 from .beeg import BeegIE
61 from .behindkink import BehindKinkIE
62 from .beatportpro import BeatportProIE
63 from .bet import BetIE
64 from .bild import BildIE
65 from .bilibili import BiliBiliIE
66 from .bleacherreport import (
70 from .blinkx import BlinkxIE
71 from .bloomberg import BloombergIE
72 from .bpb import BpbIE
74 from .breakcom import BreakIE
75 from .brightcove import (
79 from .buzzfeed import BuzzFeedIE
80 from .byutv import BYUtvIE
81 from .c56 import C56IE
82 from .camdemy import (
86 from .canalplus import CanalplusIE
87 from .canalc2 import Canalc2IE
88 from .cbs import CBSIE
89 from .cbsnews import CBSNewsIE
90 from .cbssports import CBSSportsIE
91 from .ccc import CCCIE
92 from .ceskatelevize import CeskaTelevizeIE
93 from .channel9 import Channel9IE
94 from .chaturbate import ChaturbateIE
95 from .chilloutzone import ChilloutzoneIE
96 from .chirbit import (
100 from .cinchcast import CinchcastIE
101 from .cinemassacre import CinemassacreIE
102 from .clipfish import ClipfishIE
103 from .cliphunter import CliphunterIE
104 from .clipsyndicate import ClipsyndicateIE
105 from .cloudy import CloudyIE
106 from .clubic import ClubicIE
107 from .clyp import ClypIE
108 from .cmt import CMTIE
109 from .cnet import CNETIE
115 from .collegehumor import CollegeHumorIE
116 from .collegerama import CollegeRamaIE
117 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
118 from .comcarcoff import ComCarCoffIE
119 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
120 from .condenast import CondeNastIE
121 from .cracked import CrackedIE
122 from .criterion import CriterionIE
123 from .crooksandliars import CrooksAndLiarsIE
124 from .crunchyroll import (
126 CrunchyrollShowPlaylistIE
128 from .cspan import CSpanIE
129 from .ctsnews import CtsNewsIE
130 from .dailymotion import (
132 DailymotionPlaylistIE,
140 from .dbtv import DBTVIE
147 from .dctp import DctpTvIE
148 from .deezer import DeezerPlaylistIE
149 from .democracynow import DemocracynowIE
150 from .dfb import DFBIE
151 from .dhm import DHMIE
152 from .dotsub import DotsubIE
153 from .douyutv import DouyuTVIE
154 from .dplay import DPlayIE
155 from .dramafever import (
159 from .dreisat import DreiSatIE
160 from .drbonanza import DRBonanzaIE
161 from .drtuber import DrTuberIE
162 from .drtv import DRTVIE
163 from .dvtv import DVTVIE
164 from .dump import DumpIE
165 from .dumpert import DumpertIE
166 from .defense import DefenseGouvFrIE
167 from .discovery import DiscoveryIE
168 from .dropbox import DropboxIE
169 from .eagleplatform import EaglePlatformIE
170 from .ebaumsworld import EbaumsWorldIE
171 from .echomsk import EchoMskIE
172 from .ehow import EHowIE
173 from .eighttracks import EightTracksIE
174 from .einthusan import EinthusanIE
175 from .eitb import EitbIE
176 from .ellentv import (
180 from .elpais import ElPaisIE
181 from .embedly import EmbedlyIE
182 from .engadget import EngadgetIE
183 from .eporner import EpornerIE
184 from .eroprofile import EroProfileIE
185 from .escapist import EscapistIE
186 from .espn import ESPNIE
187 from .esri import EsriVideoIE
188 from .europa import EuropaIE
189 from .everyonesmixtape import EveryonesMixtapeIE
190 from .exfm import ExfmIE
191 from .expotv import ExpoTVIE
192 from .extremetube import ExtremeTubeIE
193 from .facebook import FacebookIE
194 from .faz import FazIE
195 from .fc2 import FC2IE
196 from .fczenit import FczenitIE
197 from .firstpost import FirstpostIE
198 from .firsttv import FirstTVIE
199 from .fivemin import FiveMinIE
200 from .fivetv import FiveTVIE
201 from .fktv import FKTVIE
202 from .flickr import FlickrIE
203 from .folketinget import FolketingetIE
204 from .footyroom import FootyRoomIE
205 from .fourtube import FourTubeIE
206 from .fox import FOXIE
207 from .foxgay import FoxgayIE
208 from .foxnews import FoxNewsIE
209 from .foxsports import FoxSportsIE
210 from .franceculture import (
212 FranceCultureEmissionIE,
214 from .franceinter import FranceInterIE
215 from .francetv import (
222 from .freesound import FreesoundIE
223 from .freespeech import FreespeechIE
224 from .freevideo import FreeVideoIE
225 from .funimation import FunimationIE
226 from .funnyordie import FunnyOrDieIE
227 from .gameinformer import GameInformerIE
228 from .gamekings import GamekingsIE
229 from .gameone import (
233 from .gamersyde import GamersydeIE
234 from .gamespot import GameSpotIE
235 from .gamestar import GameStarIE
236 from .gametrailers import GametrailersIE
237 from .gazeta import GazetaIE
238 from .gdcvault import GDCVaultIE
239 from .generic import GenericIE
240 from .gfycat import GfycatIE
241 from .giantbomb import GiantBombIE
242 from .giga import GigaIE
243 from .glide import GlideIE
248 from .godtube import GodTubeIE
249 from .goldenmoustache import GoldenMoustacheIE
250 from .golem import GolemIE
251 from .googledrive import GoogleDriveIE
252 from .googleplus import GooglePlusIE
253 from .googlesearch import GoogleSearchIE
254 from .goshgay import GoshgayIE
255 from .gputechconf import GPUTechConfIE
256 from .groupon import GrouponIE
257 from .hark import HarkIE
258 from .hearthisat import HearThisAtIE
259 from .heise import HeiseIE
260 from .hellporno import HellPornoIE
261 from .helsinki import HelsinkiIE
262 from .hentaistigma import HentaiStigmaIE
263 from .historicfilms import HistoricFilmsIE
264 from .history import HistoryIE
265 from .hitbox import HitboxIE, HitboxLiveIE
266 from .hornbunny import HornBunnyIE
267 from .hotnewhiphop import HotNewHipHopIE
268 from .hotstar import HotStarIE
269 from .howcast import HowcastIE
270 from .howstuffworks import HowStuffWorksIE
271 from .huffpost import HuffPostIE
272 from .hypem import HypemIE
273 from .iconosquare import IconosquareIE
287 from .ina import InaIE
288 from .indavideo import (
292 from .infoq import InfoQIE
293 from .instagram import InstagramIE, InstagramUserIE
294 from .internetvideoarchive import InternetVideoArchiveIE
295 from .iprima import IPrimaIE
296 from .iqiyi import IqiyiIE
297 from .ir90tv import Ir90TvIE
302 from .izlesene import IzleseneIE
303 from .jadorecettepub import JadoreCettePubIE
304 from .jeuxvideo import JeuxVideoIE
305 from .jove import JoveIE
306 from .jwplatform import JWPlatformIE
307 from .jpopsukitv import JpopsukiIE
308 from .kaltura import KalturaIE
309 from .kanalplay import KanalPlayIE
310 from .kankan import KankanIE
311 from .karaoketv import KaraoketvIE
312 from .karrierevideos import KarriereVideosIE
313 from .keezmovies import KeezMoviesIE
314 from .khanacademy import KhanAcademyIE
315 from .kickstarter import KickStarterIE
316 from .keek import KeekIE
317 from .kontrtube import KontrTubeIE
318 from .krasview import KrasViewIE
319 from .ku6 import Ku6IE
328 from .la7 import LA7IE
329 from .laola1tv import Laola1TvIE
330 from .lecture2go import Lecture2GoIE
336 from .libsyn import LibsynIE
337 from .lifenews import (
341 from .limelight import (
344 LimelightChannelListIE,
346 from .liveleak import LiveLeakIE
347 from .livestream import (
349 LivestreamOriginalIE,
350 LivestreamShortenerIE,
352 from .lnkgo import LnkGoIE
353 from .lrt import LRTIE
359 from .macgamestore import MacGameStoreIE
360 from .mailru import MailRuIE
361 from .makertv import MakerTVIE
362 from .malemotion import MalemotionIE
363 from .mdr import MDRIE
364 from .metacafe import MetacafeIE
365 from .metacritic import MetacriticIE
366 from .mgoon import MgoonIE
367 from .minhateca import MinhatecaIE
368 from .ministrygrid import MinistryGridIE
369 from .miomio import MioMioIE
370 from .mit import TechTVMITIE, MITIE, OCWMITIE
371 from .mitele import MiTeleIE
372 from .mixcloud import MixcloudIE
373 from .mlb import MLBIE
374 from .mpora import MporaIE
375 from .moevideo import MoeVideoIE
376 from .mofosex import MofosexIE
377 from .mojvideo import MojvideoIE
378 from .moniker import MonikerIE
379 from .mooshare import MooshareIE
380 from .morningstar import MorningstarIE
381 from .motherless import MotherlessIE
382 from .motorsport import MotorsportIE
383 from .movieclips import MovieClipsIE
384 from .moviezine import MoviezineIE
387 MTVServicesEmbeddedIE,
391 from .muenchentv import MuenchenTVIE
392 from .musicplayon import MusicPlayOnIE
393 from .muzu import MuzuTVIE
394 from .mwave import MwaveIE
395 from .myspace import MySpaceIE, MySpaceAlbumIE
396 from .myspass import MySpassIE
397 from .myvi import MyviIE
398 from .myvideo import MyVideoIE
399 from .myvidster import MyVidsterIE
400 from .nationalgeographic import NationalGeographicIE
401 from .naver import NaverIE
402 from .nba import NBAIE
417 from .ndtv import NDTVIE
418 from .netzkino import NetzkinoIE
419 from .nerdcubed import NerdCubedFeedIE
420 from .nerdist import NerdistIE
421 from .neteasemusic import (
424 NetEaseMusicSingerIE,
427 NetEaseMusicProgramIE,
428 NetEaseMusicDjRadioIE,
430 from .newgrounds import NewgroundsIE
431 from .newstube import NewstubeIE
432 from .nextmedia import (
434 NextMediaActionNewsIE,
437 from .nfb import NFBIE
438 from .nfl import NFLIE
444 from .niconico import NiconicoIE, NiconicoPlaylistIE
445 from .ninegag import NineGagIE
446 from .noco import NocoIE
447 from .normalboots import NormalbootsIE
448 from .nosvideo import NosVideoIE
449 from .nova import NovaIE
450 from .novamov import (
457 from .nowness import (
479 from .ntvde import NTVDeIE
480 from .ntvru import NTVRuIE
481 from .nytimes import (
485 from .nuvid import NuvidIE
486 from .odnoklassniki import OdnoklassnikiIE
487 from .oktoberfesttv import OktoberfestTVIE
488 from .onionstudios import OnionStudiosIE
489 from .ooyala import (
499 from .parliamentliveuk import ParliamentLiveUKIE
500 from .patreon import PatreonIE
501 from .pbs import PBSIE
502 from .periscope import PeriscopeIE
503 from .philharmoniedeparis import PhilharmonieDeParisIE
504 from .phoenix import PhoenixIE
505 from .photobucket import PhotobucketIE
506 from .pinkbike import PinkbikeIE
507 from .planetaplay import PlanetaPlayIE
508 from .pladform import PladformIE
509 from .played import PlayedIE
510 from .playfm import PlayFMIE
511 from .playtvak import PlaytvakIE
512 from .playvid import PlayvidIE
513 from .playwire import PlaywireIE
514 from .pluralsight import (
518 from .podomatic import PodomaticIE
519 from .porn91 import Porn91IE
520 from .pornhd import PornHdIE
521 from .pornhub import (
525 from .pornotube import PornotubeIE
526 from .pornovoisines import PornoVoisinesIE
527 from .pornoxo import PornoXOIE
528 from .primesharetv import PrimeShareTVIE
529 from .promptfile import PromptFileIE
530 from .prosiebensat1 import ProSiebenSat1IE
531 from .puls4 import Puls4IE
532 from .pyvideo import PyvideoIE
533 from .qqmusic import (
540 from .quickvid import QuickVidIE
542 from .radiode import RadioDeIE
543 from .radiojavan import RadioJavanIE
544 from .radiobremen import RadioBremenIE
545 from .radiofrance import RadioFranceIE
550 from .rbmaradio import RBMARadioIE
551 from .rds import RDSIE
552 from .redtube import RedTubeIE
553 from .restudy import RestudyIE
554 from .reverbnation import ReverbNationIE
555 from .ringtv import RingTVIE
556 from .ro220 import Ro220IE
557 from .rottentomatoes import RottenTomatoesIE
558 from .roxwel import RoxwelIE
559 from .rtbf import RTBFIE
560 from .rte import RteIE
561 from .rtlnl import RtlNlIE
562 from .rtl2 import RTL2IE
563 from .rtp import RTPIE
564 from .rts import RTSIE
565 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
566 from .rtvnh import RTVNHIE
567 from .ruhd import RUHDIE
568 from .rutube import (
575 from .rutv import RUTVIE
576 from .ruutu import RuutuIE
577 from .sandia import SandiaIE
578 from .safari import (
582 from .sapo import SapoIE
583 from .savefrom import SaveFromIE
584 from .sbs import SBSIE
585 from .scivee import SciVeeIE
586 from .screencast import ScreencastIE
587 from .screencastomatic import ScreencastOMaticIE
588 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
589 from .senateisvp import SenateISVPIE
590 from .servingsys import ServingSysIE
591 from .sexu import SexuIE
592 from .sexykarma import SexyKarmaIE
593 from .shahid import ShahidIE
594 from .shared import SharedIE
595 from .sharesix import ShareSixIE
596 from .sina import SinaIE
597 from .skynewsarabia import (
599 SkyNewsArabiaArticleIE,
601 from .slideshare import SlideshareIE
602 from .slutload import SlutloadIE
603 from .smotri import (
609 from .snagfilms import (
613 from .snotr import SnotrIE
614 from .sohu import SohuIE
615 from .soundcloud import (
619 SoundcloudPlaylistIE,
622 from .soundgasm import (
626 from .southpark import (
633 from .space import SpaceIE
634 from .spankbang import SpankBangIE
635 from .spankwire import SpankwireIE
636 from .spiegel import SpiegelIE, SpiegelArticleIE
637 from .spiegeltv import SpiegeltvIE
638 from .spike import SpikeIE
639 from .stitcher import StitcherIE
640 from .sport5 import Sport5IE
641 from .sportbox import (
645 from .sportdeutschland import SportDeutschlandIE
646 from .srgssr import (
650 from .srmediathek import SRMediathekIE
651 from .ssa import SSAIE
652 from .stanfordoc import StanfordOpenClassroomIE
653 from .steam import SteamIE
654 from .streamcloud import StreamcloudIE
655 from .streamcz import StreamCZIE
656 from .streetvoice import StreetVoiceIE
657 from .sunporno import SunPornoIE
662 from .swrmediathek import SWRMediathekIE
663 from .syfy import SyfyIE
664 from .sztvhu import SztvHuIE
665 from .tagesschau import TagesschauIE
666 from .tapely import TapelyIE
667 from .tass import TassIE
668 from .teachertube import (
672 from .teachingchannel import TeachingChannelIE
673 from .teamcoco import TeamcocoIE
674 from .techtalks import TechTalksIE
675 from .ted import TEDIE
676 from .tele13 import Tele13IE
677 from .telebruxelles import TeleBruxellesIE
678 from .telecinco import TelecincoIE
679 from .telegraaf import TelegraafIE
680 from .telemb import TeleMBIE
681 from .teletask import TeleTaskIE
682 from .tenplay import TenPlayIE
683 from .testurl import TestURLIE
684 from .testtube import TestTubeIE
685 from .tf1 import TF1IE
686 from .theintercept import TheInterceptIE
687 from .theonion import TheOnionIE
688 from .theplatform import (
692 from .thesixtyone import TheSixtyOneIE
693 from .thisamericanlife import ThisAmericanLifeIE
694 from .thisav import ThisAVIE
695 from .tinypic import TinyPicIE
696 from .tlc import TlcIE, TlcDeIE
701 from .tnaflix import (
706 from .toggle import ToggleIE
707 from .thvideo import (
711 from .toutv import TouTvIE
712 from .toypics import ToypicsUserIE, ToypicsIE
713 from .traileraddict import TrailerAddictIE
714 from .trilulilu import TriluliluIE
715 from .trutube import TruTubeIE
716 from .tube8 import Tube8IE
717 from .tubitv import TubiTvIE
718 from .tudou import TudouIE
719 from .tumblr import TumblrIE
720 from .tunein import (
727 from .turbo import TurboIE
728 from .tutv import TutvIE
733 from .tv4 import TV4IE
738 from .tvigle import TvigleIE
739 from .tvp import TvpIE, TvpSeriesIE
740 from .tvplay import TVPlayIE
741 from .tweakers import TweakersIE
742 from .twentyfourvideo import TwentyFourVideoIE
743 from .twentytwotracks import (
745 TwentyTwoTracksGenreIE
747 from .twitch import (
752 TwitchPastBroadcastsIE,
756 from .twitter import TwitterCardIE, TwitterIE
757 from .ubu import UbuIE
762 from .udn import UDNEmbedIE
763 from .ultimedia import UltimediaIE
764 from .unistra import UnistraIE
765 from .urort import UrortIE
766 from .ustream import UstreamIE, UstreamChannelIE
767 from .varzesh3 import Varzesh3IE
768 from .vbox7 import Vbox7IE
769 from .veehd import VeeHDIE
770 from .veoh import VeohIE
771 from .vessel import VesselIE
772 from .vesti import VestiIE
773 from .vevo import VevoIE
779 from .vh1 import VH1IE
780 from .vice import ViceIE
781 from .viddler import ViddlerIE
782 from .videodetective import VideoDetectiveIE
783 from .videofyme import VideofyMeIE
784 from .videomega import VideoMegaIE
785 from .videomore import (
790 from .videopremium import VideoPremiumIE
791 from .videott import VideoTtIE
792 from .vidme import VidmeIE
793 from .vidzi import VidziIE
794 from .vier import VierIE, VierVideosIE
795 from .viewster import ViewsterIE
796 from .viidea import ViideaIE
807 from .vimple import VimpleIE
820 from .vlive import VLiveIE
821 from .vodlocker import VodlockerIE
822 from .voicerepublic import VoiceRepublicIE
823 from .vporn import VpornIE
824 from .vrt import VRTIE
825 from .vube import VubeIE
826 from .vuclip import VuClipIE
827 from .vulture import VultureIE
828 from .walla import WallaIE
829 from .washingtonpost import WashingtonPostIE
830 from .wat import WatIE
831 from .wayofthemaster import WayOfTheMasterIE
837 from .webofstories import (
839 WebOfStoriesPlaylistIE,
841 from .weibo import WeiboIE
842 from .wimp import WimpIE
843 from .wistia import WistiaIE
844 from .worldstarhiphop import WorldStarHipHopIE
845 from .wrzuta import WrzutaIE
846 from .wsj import WSJIE
847 from .xbef import XBefIE
848 from .xboxclips import XboxClipsIE
849 from .xfileshare import XFileShareIE
850 from .xhamster import (
854 from .xminus import XMinusIE
855 from .xnxx import XNXXIE
856 from .xstream import XstreamIE
857 from .xtube import XTubeUserIE, XTubeIE
858 from .xuite import XuiteIE
859 from .xvideos import XVideosIE
860 from .xxxymovies import XXXYMoviesIE
865 from .yam import YamIE
866 from .yandexmusic import (
869 YandexMusicPlaylistIE,
871 from .yesjapan import YesJapanIE
872 from .yinyuetai import YinYueTaiIE
873 from .ynet import YnetIE
874 from .youjizz import YouJizzIE
875 from .youku import YoukuIE
876 from .youporn import YouPornIE
877 from .yourupload import YourUploadIE
878 from .youtube import (
884 YoutubeRecommendedIE,
889 YoutubeSubscriptionsIE,
890 YoutubeTruncatedIDIE,
891 YoutubeTruncatedURLIE,
896 from .zapiks import ZapiksIE
897 from .zdf import ZDFIE, ZDFChannelIE
898 from .zingmp3 import (
905 for name, klass in globals().items()
906 if name.endswith('IE') and name != 'GenericIE'
908 _ALL_CLASSES.append(GenericIE)
911 def gen_extractors():
912 """ Return a list of an instance of every supported extractor.
913 The order does matter; the first extractor matched is the one handling the URL.
915 return [klass() for klass in _ALL_CLASSES]
918 def list_extractors(age_limit):
920 Return a list of extractors that are suitable for the given age,
921 sorted by extractor ID.
925 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
926 key=lambda ie: ie.IE_NAME.lower())
929 def get_info_extractor(ie_name):
930 """Returns the info extractor class with the given ie_name"""
931 return globals()[ie_name + 'IE']