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 .nick import NickIE
445 from .niconico import NiconicoIE, NiconicoPlaylistIE
446 from .ninegag import NineGagIE
447 from .noco import NocoIE
448 from .normalboots import NormalbootsIE
449 from .nosvideo import NosVideoIE
450 from .nova import NovaIE
451 from .novamov import (
458 from .nowness import (
480 from .ntvde import NTVDeIE
481 from .ntvru import NTVRuIE
482 from .nytimes import (
486 from .nuvid import NuvidIE
487 from .odnoklassniki import OdnoklassnikiIE
488 from .oktoberfesttv import OktoberfestTVIE
489 from .onionstudios import OnionStudiosIE
490 from .ooyala import (
494 from .ora import OraTVIE
501 from .pandoratv import PandoraTVIE
502 from .parliamentliveuk import ParliamentLiveUKIE
503 from .patreon import PatreonIE
504 from .pbs import PBSIE
505 from .periscope import PeriscopeIE
506 from .philharmoniedeparis import PhilharmonieDeParisIE
507 from .phoenix import PhoenixIE
508 from .photobucket import PhotobucketIE
509 from .pinkbike import PinkbikeIE
510 from .planetaplay import PlanetaPlayIE
511 from .pladform import PladformIE
512 from .played import PlayedIE
513 from .playfm import PlayFMIE
514 from .playtvak import PlaytvakIE
515 from .playvid import PlayvidIE
516 from .playwire import PlaywireIE
517 from .pluralsight import (
521 from .podomatic import PodomaticIE
522 from .porn91 import Porn91IE
523 from .pornhd import PornHdIE
524 from .pornhub import (
528 from .pornotube import PornotubeIE
529 from .pornovoisines import PornoVoisinesIE
530 from .pornoxo import PornoXOIE
531 from .primesharetv import PrimeShareTVIE
532 from .promptfile import PromptFileIE
533 from .prosiebensat1 import ProSiebenSat1IE
534 from .puls4 import Puls4IE
535 from .pyvideo import PyvideoIE
536 from .qqmusic import (
543 from .quickvid import QuickVidIE
545 from .radiode import RadioDeIE
546 from .radiojavan import RadioJavanIE
547 from .radiobremen import RadioBremenIE
548 from .radiofrance import RadioFranceIE
553 from .rbmaradio import RBMARadioIE
554 from .rds import RDSIE
555 from .redtube import RedTubeIE
556 from .regiotv import RegioTVIE
557 from .restudy import RestudyIE
558 from .reverbnation import ReverbNationIE
559 from .ringtv import RingTVIE
560 from .ro220 import Ro220IE
561 from .rottentomatoes import RottenTomatoesIE
562 from .roxwel import RoxwelIE
563 from .rtbf import RTBFIE
564 from .rte import RteIE
565 from .rtlnl import RtlNlIE
566 from .rtl2 import RTL2IE
567 from .rtp import RTPIE
568 from .rts import RTSIE
569 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
570 from .rtvnh import RTVNHIE
571 from .ruhd import RUHDIE
572 from .rutube import (
579 from .rutv import RUTVIE
580 from .ruutu import RuutuIE
581 from .sandia import SandiaIE
582 from .safari import (
586 from .sapo import SapoIE
587 from .savefrom import SaveFromIE
588 from .sbs import SBSIE
589 from .scivee import SciVeeIE
590 from .screencast import ScreencastIE
591 from .screencastomatic import ScreencastOMaticIE
592 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
593 from .senateisvp import SenateISVPIE
594 from .servingsys import ServingSysIE
595 from .sexu import SexuIE
596 from .sexykarma import SexyKarmaIE
597 from .shahid import ShahidIE
598 from .shared import SharedIE
599 from .sharesix import ShareSixIE
600 from .sina import SinaIE
601 from .skynewsarabia import (
603 SkyNewsArabiaArticleIE,
605 from .slideshare import SlideshareIE
606 from .slutload import SlutloadIE
607 from .smotri import (
613 from .snagfilms import (
617 from .snotr import SnotrIE
618 from .sohu import SohuIE
619 from .soundcloud import (
623 SoundcloudPlaylistIE,
626 from .soundgasm import (
630 from .southpark import (
637 from .space import SpaceIE
638 from .spankbang import SpankBangIE
639 from .spankwire import SpankwireIE
640 from .spiegel import SpiegelIE, SpiegelArticleIE
641 from .spiegeltv import SpiegeltvIE
642 from .spike import SpikeIE
643 from .stitcher import StitcherIE
644 from .sport5 import Sport5IE
645 from .sportbox import (
649 from .sportdeutschland import SportDeutschlandIE
650 from .srgssr import (
654 from .srmediathek import SRMediathekIE
655 from .ssa import SSAIE
656 from .stanfordoc import StanfordOpenClassroomIE
657 from .steam import SteamIE
658 from .streamcloud import StreamcloudIE
659 from .streamcz import StreamCZIE
660 from .streetvoice import StreetVoiceIE
661 from .sunporno import SunPornoIE
666 from .swrmediathek import SWRMediathekIE
667 from .syfy import SyfyIE
668 from .sztvhu import SztvHuIE
669 from .tagesschau import TagesschauIE
670 from .tapely import TapelyIE
671 from .tass import TassIE
672 from .teachertube import (
676 from .teachingchannel import TeachingChannelIE
677 from .teamcoco import TeamcocoIE
678 from .techtalks import TechTalksIE
679 from .ted import TEDIE
680 from .tele13 import Tele13IE
681 from .telebruxelles import TeleBruxellesIE
682 from .telecinco import TelecincoIE
683 from .telegraaf import TelegraafIE
684 from .telemb import TeleMBIE
685 from .teletask import TeleTaskIE
686 from .tenplay import TenPlayIE
687 from .testurl import TestURLIE
688 from .testtube import TestTubeIE
689 from .tf1 import TF1IE
690 from .theintercept import TheInterceptIE
691 from .theonion import TheOnionIE
692 from .theplatform import (
696 from .thesixtyone import TheSixtyOneIE
697 from .thisamericanlife import ThisAmericanLifeIE
698 from .thisav import ThisAVIE
699 from .tinypic import TinyPicIE
700 from .tlc import TlcDeIE
705 from .tnaflix import (
710 from .toggle import ToggleIE
711 from .thvideo import (
715 from .toutv import TouTvIE
716 from .toypics import ToypicsUserIE, ToypicsIE
717 from .traileraddict import TrailerAddictIE
718 from .trilulilu import TriluliluIE
719 from .trutube import TruTubeIE
720 from .tube8 import Tube8IE
721 from .tubitv import TubiTvIE
722 from .tudou import TudouIE
723 from .tumblr import TumblrIE
724 from .tunein import (
731 from .turbo import TurboIE
732 from .tutv import TutvIE
737 from .tv4 import TV4IE
742 from .tvigle import TvigleIE
743 from .tvland import TVLandIE
744 from .tvp import TvpIE, TvpSeriesIE
745 from .tvplay import TVPlayIE
746 from .tweakers import TweakersIE
747 from .twentyfourvideo import TwentyFourVideoIE
748 from .twentytwotracks import (
750 TwentyTwoTracksGenreIE
752 from .twitch import (
757 TwitchPastBroadcastsIE,
761 from .twitter import TwitterCardIE, TwitterIE
762 from .ubu import UbuIE
767 from .udn import UDNEmbedIE
768 from .ultimedia import UltimediaIE
769 from .unistra import UnistraIE
770 from .urort import UrortIE
771 from .ustream import UstreamIE, UstreamChannelIE
772 from .varzesh3 import Varzesh3IE
773 from .vbox7 import Vbox7IE
774 from .veehd import VeeHDIE
775 from .veoh import VeohIE
776 from .vessel import VesselIE
777 from .vesti import VestiIE
778 from .vevo import VevoIE
784 from .vh1 import VH1IE
785 from .vice import ViceIE
786 from .viddler import ViddlerIE
787 from .videodetective import VideoDetectiveIE
788 from .videofyme import VideofyMeIE
789 from .videomega import VideoMegaIE
790 from .videomore import (
795 from .videopremium import VideoPremiumIE
796 from .videott import VideoTtIE
797 from .vidme import VidmeIE
798 from .vidzi import VidziIE
799 from .vier import VierIE, VierVideosIE
800 from .viewster import ViewsterIE
801 from .viidea import ViideaIE
812 from .vimple import VimpleIE
825 from .vlive import VLiveIE
826 from .vodlocker import VodlockerIE
827 from .voicerepublic import VoiceRepublicIE
828 from .vporn import VpornIE
829 from .vrt import VRTIE
830 from .vube import VubeIE
831 from .vuclip import VuClipIE
832 from .vulture import VultureIE
833 from .walla import WallaIE
834 from .washingtonpost import WashingtonPostIE
835 from .wat import WatIE
836 from .wayofthemaster import WayOfTheMasterIE
842 from .webofstories import (
844 WebOfStoriesPlaylistIE,
846 from .weibo import WeiboIE
847 from .wimp import WimpIE
848 from .wistia import WistiaIE
849 from .worldstarhiphop import WorldStarHipHopIE
850 from .wrzuta import WrzutaIE
851 from .wsj import WSJIE
852 from .xbef import XBefIE
853 from .xboxclips import XboxClipsIE
854 from .xfileshare import XFileShareIE
855 from .xhamster import (
859 from .xminus import XMinusIE
860 from .xnxx import XNXXIE
861 from .xstream import XstreamIE
862 from .xtube import XTubeUserIE, XTubeIE
863 from .xuite import XuiteIE
864 from .xvideos import XVideosIE
865 from .xxxymovies import XXXYMoviesIE
870 from .yam import YamIE
871 from .yandexmusic import (
874 YandexMusicPlaylistIE,
876 from .yesjapan import YesJapanIE
877 from .yinyuetai import YinYueTaiIE
878 from .ynet import YnetIE
879 from .youjizz import YouJizzIE
880 from .youku import YoukuIE
881 from .youporn import YouPornIE
882 from .yourupload import YourUploadIE
883 from .youtube import (
889 YoutubeRecommendedIE,
894 YoutubeSubscriptionsIE,
895 YoutubeTruncatedIDIE,
896 YoutubeTruncatedURLIE,
901 from .zapiks import ZapiksIE
902 from .zdf import ZDFIE, ZDFChannelIE
903 from .zingmp3 import (
910 for name, klass in globals().items()
911 if name.endswith('IE') and name != 'GenericIE'
913 _ALL_CLASSES.append(GenericIE)
916 def gen_extractors():
917 """ Return a list of an instance of every supported extractor.
918 The order does matter; the first extractor matched is the one handling the URL.
920 return [klass() for klass in _ALL_CLASSES]
923 def list_extractors(age_limit):
925 Return a list of extractors that are suitable for the given age,
926 sorted by extractor ID.
930 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
931 key=lambda ie: ie.IE_NAME.lower())
934 def get_info_extractor(ie_name):
935 """Returns the info extractor class with the given ie_name"""
936 return globals()[ie_name + 'IE']