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 .aftenposten import AftenpostenIE
19 from .aftonbladet import AftonbladetIE
20 from .airmozilla import AirMozillaIE
21 from .aljazeera import AlJazeeraIE
22 from .alphaporno import AlphaPornoIE
23 from .anitube import AnitubeIE
24 from .anysex import AnySexIE
25 from .aol import AolIE
26 from .allocine import AllocineIE
27 from .aparat import AparatIE
28 from .appleconnect import AppleConnectIE
29 from .appletrailers import AppleTrailersIE
30 from .archiveorg import ArchiveOrgIE
45 from .atresplayer import AtresPlayerIE
46 from .atttechchannel import ATTTechChannelIE
47 from .audimedia import AudiMediaIE
48 from .audiomack import AudiomackIE, AudiomackAlbumIE
49 from .azubu import AzubuIE
50 from .baidu import BaiduVideoIE
51 from .bambuser import BambuserIE, BambuserChannelIE
52 from .bandcamp import BandcampIE, BandcampAlbumIE
58 from .beeg import BeegIE
59 from .behindkink import BehindKinkIE
60 from .beatportpro import BeatportProIE
61 from .bet import BetIE
62 from .bild import BildIE
63 from .bilibili import BiliBiliIE
64 from .blinkx import BlinkxIE
65 from .bliptv import BlipTVIE, BlipTVUserIE
66 from .bloomberg import BloombergIE
67 from .bpb import BpbIE
69 from .breakcom import BreakIE
70 from .brightcove import (
74 from .buzzfeed import BuzzFeedIE
75 from .byutv import BYUtvIE
76 from .c56 import C56IE
77 from .camdemy import (
81 from .canal13cl import Canal13clIE
82 from .canalplus import CanalplusIE
83 from .canalc2 import Canalc2IE
84 from .cbs import CBSIE
85 from .cbsnews import CBSNewsIE
86 from .cbssports import CBSSportsIE
87 from .ccc import CCCIE
88 from .ceskatelevize import CeskaTelevizeIE
89 from .channel9 import Channel9IE
90 from .chaturbate import ChaturbateIE
91 from .chilloutzone import ChilloutzoneIE
92 from .chirbit import (
96 from .cinchcast import CinchcastIE
97 from .cinemassacre import CinemassacreIE
98 from .clipfish import ClipfishIE
99 from .cliphunter import CliphunterIE
100 from .clipsyndicate import ClipsyndicateIE
101 from .cloudy import CloudyIE
102 from .clubic import ClubicIE
103 from .clyp import ClypIE
104 from .cmt import CMTIE
105 from .cnet import CNETIE
111 from .collegehumor import CollegeHumorIE
112 from .collegerama import CollegeRamaIE
113 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
114 from .comcarcoff import ComCarCoffIE
115 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
116 from .condenast import CondeNastIE
117 from .cracked import CrackedIE
118 from .criterion import CriterionIE
119 from .crooksandliars import CrooksAndLiarsIE
120 from .crunchyroll import (
122 CrunchyrollShowPlaylistIE
124 from .cspan import CSpanIE
125 from .ctsnews import CtsNewsIE
126 from .dailymotion import (
128 DailymotionPlaylistIE,
132 from .daum import DaumIE
133 from .dbtv import DBTVIE
134 from .dcn import DCNIE
135 from .dctp import DctpTvIE
136 from .deezer import DeezerPlaylistIE
137 from .democracynow import DemocracynowIE
138 from .dfb import DFBIE
139 from .dhm import DHMIE
140 from .dotsub import DotsubIE
141 from .douyutv import DouyuTVIE
142 from .dplay import DPlayIE
143 from .dramafever import (
147 from .dreisat import DreiSatIE
148 from .drbonanza import DRBonanzaIE
149 from .drtuber import DrTuberIE
150 from .drtv import DRTVIE
151 from .dvtv import DVTVIE
152 from .dump import DumpIE
153 from .dumpert import DumpertIE
154 from .defense import DefenseGouvFrIE
155 from .discovery import DiscoveryIE
156 from .dropbox import DropboxIE
157 from .eagleplatform import EaglePlatformIE
158 from .ebaumsworld import EbaumsWorldIE
159 from .echomsk import EchoMskIE
160 from .ehow import EHowIE
161 from .eighttracks import EightTracksIE
162 from .einthusan import EinthusanIE
163 from .eitb import EitbIE
164 from .ellentv import (
168 from .elpais import ElPaisIE
169 from .embedly import EmbedlyIE
170 from .engadget import EngadgetIE
171 from .eporner import EpornerIE
172 from .eroprofile import EroProfileIE
173 from .escapist import EscapistIE
174 from .espn import ESPNIE
175 from .esri import EsriVideoIE
176 from .europa import EuropaIE
177 from .everyonesmixtape import EveryonesMixtapeIE
178 from .exfm import ExfmIE
179 from .expotv import ExpoTVIE
180 from .extremetube import ExtremeTubeIE
181 from .facebook import FacebookIE
182 from .faz import FazIE
183 from .fc2 import FC2IE
184 from .fczenit import FczenitIE
185 from .firstpost import FirstpostIE
186 from .firsttv import FirstTVIE
187 from .fivemin import FiveMinIE
188 from .fivetv import FiveTVIE
189 from .fktv import FKTVIE
190 from .flickr import FlickrIE
191 from .folketinget import FolketingetIE
192 from .footyroom import FootyRoomIE
193 from .fourtube import FourTubeIE
194 from .foxgay import FoxgayIE
195 from .foxnews import FoxNewsIE
196 from .foxsports import FoxSportsIE
197 from .franceculture import FranceCultureIE
198 from .franceinter import FranceInterIE
199 from .francetv import (
206 from .freesound import FreesoundIE
207 from .freespeech import FreespeechIE
208 from .freevideo import FreeVideoIE
209 from .funimation import FunimationIE
210 from .funnyordie import FunnyOrDieIE
211 from .gameinformer import GameInformerIE
212 from .gamekings import GamekingsIE
213 from .gameone import (
217 from .gamersyde import GamersydeIE
218 from .gamespot import GameSpotIE
219 from .gamestar import GameStarIE
220 from .gametrailers import GametrailersIE
221 from .gazeta import GazetaIE
222 from .gdcvault import GDCVaultIE
223 from .generic import GenericIE
224 from .gfycat import GfycatIE
225 from .giantbomb import GiantBombIE
226 from .giga import GigaIE
227 from .glide import GlideIE
232 from .godtube import GodTubeIE
233 from .goldenmoustache import GoldenMoustacheIE
234 from .golem import GolemIE
235 from .googleplus import GooglePlusIE
236 from .googlesearch import GoogleSearchIE
237 from .goshgay import GoshgayIE
238 from .groupon import GrouponIE
239 from .hark import HarkIE
240 from .hearthisat import HearThisAtIE
241 from .heise import HeiseIE
242 from .hellporno import HellPornoIE
243 from .helsinki import HelsinkiIE
244 from .hentaistigma import HentaiStigmaIE
245 from .historicfilms import HistoricFilmsIE
246 from .history import HistoryIE
247 from .hitbox import HitboxIE, HitboxLiveIE
248 from .hornbunny import HornBunnyIE
249 from .hotnewhiphop import HotNewHipHopIE
250 from .howcast import HowcastIE
251 from .howstuffworks import HowStuffWorksIE
252 from .huffpost import HuffPostIE
253 from .hypem import HypemIE
254 from .iconosquare import IconosquareIE
255 from .ign import IGNIE, OneUPIE
264 from .ina import InaIE
265 from .indavideo import (
269 from .infoq import InfoQIE
270 from .instagram import InstagramIE, InstagramUserIE
271 from .internetvideoarchive import InternetVideoArchiveIE
272 from .iprima import IPrimaIE
273 from .iqiyi import IqiyiIE
274 from .ir90tv import Ir90TvIE
279 from .izlesene import IzleseneIE
280 from .jadorecettepub import JadoreCettePubIE
281 from .jeuxvideo import JeuxVideoIE
282 from .jove import JoveIE
283 from .jukebox import JukeboxIE
284 from .jpopsukitv import JpopsukiIE
285 from .kaltura import KalturaIE
286 from .kanalplay import KanalPlayIE
287 from .kankan import KankanIE
288 from .karaoketv import KaraoketvIE
289 from .karrierevideos import KarriereVideosIE
290 from .keezmovies import KeezMoviesIE
291 from .khanacademy import KhanAcademyIE
292 from .kickstarter import KickStarterIE
293 from .keek import KeekIE
294 from .kontrtube import KontrTubeIE
295 from .krasview import KrasViewIE
296 from .ku6 import Ku6IE
305 from .la7 import LA7IE
306 from .laola1tv import Laola1TvIE
307 from .lecture2go import Lecture2GoIE
313 from .libsyn import LibsynIE
314 from .lifenews import (
318 from .limelight import (
321 LimelightChannelListIE,
323 from .liveleak import LiveLeakIE
324 from .livestream import (
326 LivestreamOriginalIE,
327 LivestreamShortenerIE,
329 from .lnkgo import LnkGoIE
330 from .lrt import LRTIE
336 from .macgamestore import MacGameStoreIE
337 from .mailru import MailRuIE
338 from .malemotion import MalemotionIE
339 from .mdr import MDRIE
340 from .metacafe import MetacafeIE
341 from .metacritic import MetacriticIE
342 from .mgoon import MgoonIE
343 from .minhateca import MinhatecaIE
344 from .ministrygrid import MinistryGridIE
345 from .miomio import MioMioIE
346 from .mit import TechTVMITIE, MITIE, OCWMITIE
347 from .mitele import MiTeleIE
348 from .mixcloud import MixcloudIE
349 from .mlb import MLBIE
350 from .mpora import MporaIE
351 from .moevideo import MoeVideoIE
352 from .mofosex import MofosexIE
353 from .mojvideo import MojvideoIE
354 from .moniker import MonikerIE
355 from .mooshare import MooshareIE
356 from .morningstar import MorningstarIE
357 from .motherless import MotherlessIE
358 from .motorsport import MotorsportIE
359 from .movieclips import MovieClipsIE
360 from .moviezine import MoviezineIE
363 MTVServicesEmbeddedIE,
367 from .muenchentv import MuenchenTVIE
368 from .musicplayon import MusicPlayOnIE
369 from .muzu import MuzuTVIE
370 from .mwave import MwaveIE
371 from .myspace import MySpaceIE, MySpaceAlbumIE
372 from .myspass import MySpassIE
373 from .myvi import MyviIE
374 from .myvideo import MyVideoIE
375 from .myvidster import MyVidsterIE
376 from .nationalgeographic import NationalGeographicIE
377 from .naver import NaverIE
378 from .nba import NBAIE
393 from .ndtv import NDTVIE
394 from .netzkino import NetzkinoIE
395 from .nerdcubed import NerdCubedFeedIE
396 from .nerdist import NerdistIE
397 from .neteasemusic import (
400 NetEaseMusicSingerIE,
403 NetEaseMusicProgramIE,
404 NetEaseMusicDjRadioIE,
406 from .newgrounds import NewgroundsIE
407 from .newstube import NewstubeIE
408 from .nextmedia import (
410 NextMediaActionNewsIE,
413 from .nfb import NFBIE
414 from .nfl import NFLIE
420 from .niconico import NiconicoIE, NiconicoPlaylistIE
421 from .ninegag import NineGagIE
422 from .noco import NocoIE
423 from .normalboots import NormalbootsIE
424 from .nosvideo import NosVideoIE
425 from .nova import NovaIE
426 from .novamov import (
433 from .nowness import (
455 from .ntvde import NTVDeIE
456 from .ntvru import NTVRuIE
457 from .nytimes import (
461 from .nuvid import NuvidIE
462 from .odnoklassniki import OdnoklassnikiIE
463 from .oktoberfesttv import OktoberfestTVIE
464 from .onionstudios import OnionStudiosIE
465 from .ooyala import (
475 from .parliamentliveuk import ParliamentLiveUKIE
476 from .patreon import PatreonIE
477 from .pbs import PBSIE
478 from .periscope import PeriscopeIE
479 from .philharmoniedeparis import PhilharmonieDeParisIE
480 from .phoenix import PhoenixIE
481 from .photobucket import PhotobucketIE
482 from .pinkbike import PinkbikeIE
483 from .planetaplay import PlanetaPlayIE
484 from .pladform import PladformIE
485 from .played import PlayedIE
486 from .playfm import PlayFMIE
487 from .playtvak import PlaytvakIE
488 from .playvid import PlayvidIE
489 from .playwire import PlaywireIE
490 from .pluralsight import (
494 from .podomatic import PodomaticIE
495 from .porn91 import Porn91IE
496 from .pornhd import PornHdIE
497 from .pornhub import (
501 from .pornotube import PornotubeIE
502 from .pornovoisines import PornoVoisinesIE
503 from .pornoxo import PornoXOIE
504 from .primesharetv import PrimeShareTVIE
505 from .promptfile import PromptFileIE
506 from .prosiebensat1 import ProSiebenSat1IE
507 from .puls4 import Puls4IE
508 from .pyvideo import PyvideoIE
509 from .qqmusic import (
516 from .quickvid import QuickVidIE
518 from .radiode import RadioDeIE
519 from .radiojavan import RadioJavanIE
520 from .radiobremen import RadioBremenIE
521 from .radiofrance import RadioFranceIE
522 from .rai import RaiIE
523 from .rbmaradio import RBMARadioIE
524 from .rds import RDSIE
525 from .redtube import RedTubeIE
526 from .restudy import RestudyIE
527 from .reverbnation import ReverbNationIE
528 from .ringtv import RingTVIE
529 from .ro220 import Ro220IE
530 from .rottentomatoes import RottenTomatoesIE
531 from .roxwel import RoxwelIE
532 from .rtbf import RTBFIE
533 from .rte import RteIE
534 from .rtlnl import RtlNlIE
535 from .rtl2 import RTL2IE
536 from .rtp import RTPIE
537 from .rts import RTSIE
538 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
539 from .rtvnh import RTVNHIE
540 from .ruhd import RUHDIE
541 from .rutube import (
548 from .rutv import RUTVIE
549 from .ruutu import RuutuIE
550 from .sandia import SandiaIE
551 from .safari import (
555 from .sapo import SapoIE
556 from .savefrom import SaveFromIE
557 from .sbs import SBSIE
558 from .scivee import SciVeeIE
559 from .screencast import ScreencastIE
560 from .screencastomatic import ScreencastOMaticIE
561 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
562 from .senateisvp import SenateISVPIE
563 from .servingsys import ServingSysIE
564 from .sexu import SexuIE
565 from .sexykarma import SexyKarmaIE
566 from .shahid import ShahidIE
567 from .shared import SharedIE
568 from .sharesix import ShareSixIE
569 from .sina import SinaIE
570 from .skynewsarabia import (
572 SkyNewsArabiaArticleIE,
574 from .slideshare import SlideshareIE
575 from .slutload import SlutloadIE
576 from .smotri import (
582 from .snagfilms import (
586 from .snotr import SnotrIE
587 from .sohu import SohuIE
588 from .soompi import (
592 from .soundcloud import (
596 SoundcloudPlaylistIE,
599 from .soundgasm import (
603 from .southpark import (
610 from .space import SpaceIE
611 from .spankbang import SpankBangIE
612 from .spankwire import SpankwireIE
613 from .spiegel import SpiegelIE, SpiegelArticleIE
614 from .spiegeltv import SpiegeltvIE
615 from .spike import SpikeIE
616 from .stitcher import StitcherIE
617 from .sport5 import Sport5IE
618 from .sportbox import (
622 from .sportdeutschland import SportDeutschlandIE
623 from .srf import SrfIE
624 from .srmediathek import SRMediathekIE
625 from .ssa import SSAIE
626 from .stanfordoc import StanfordOpenClassroomIE
627 from .steam import SteamIE
628 from .streamcloud import StreamcloudIE
629 from .streamcz import StreamCZIE
630 from .streetvoice import StreetVoiceIE
631 from .sunporno import SunPornoIE
636 from .swrmediathek import SWRMediathekIE
637 from .syfy import SyfyIE
638 from .sztvhu import SztvHuIE
639 from .tagesschau import TagesschauIE
640 from .tapely import TapelyIE
641 from .tass import TassIE
642 from .teachertube import (
646 from .teachingchannel import TeachingChannelIE
647 from .teamcoco import TeamcocoIE
648 from .techtalks import TechTalksIE
649 from .ted import TEDIE
650 from .telebruxelles import TeleBruxellesIE
651 from .telecinco import TelecincoIE
652 from .telegraaf import TelegraafIE
653 from .telemb import TeleMBIE
654 from .teletask import TeleTaskIE
655 from .tenplay import TenPlayIE
656 from .testurl import TestURLIE
657 from .testtube import TestTubeIE
658 from .tf1 import TF1IE
659 from .theonion import TheOnionIE
660 from .theplatform import (
664 from .thesixtyone import TheSixtyOneIE
665 from .thisamericanlife import ThisAmericanLifeIE
666 from .thisav import ThisAVIE
667 from .tinypic import TinyPicIE
668 from .tlc import TlcIE, TlcDeIE
673 from .tnaflix import (
678 from .thvideo import (
682 from .toutv import TouTvIE
683 from .toypics import ToypicsUserIE, ToypicsIE
684 from .traileraddict import TrailerAddictIE
685 from .trilulilu import TriluliluIE
686 from .trutube import TruTubeIE
687 from .tube8 import Tube8IE
688 from .tubitv import TubiTvIE
689 from .tudou import TudouIE
690 from .tumblr import TumblrIE
691 from .tunein import TuneInIE
692 from .turbo import TurboIE
693 from .tutv import TutvIE
698 from .tv4 import TV4IE
703 from .tvigle import TvigleIE
704 from .tvp import TvpIE, TvpSeriesIE
705 from .tvplay import TVPlayIE
706 from .tweakers import TweakersIE
707 from .twentyfourvideo import TwentyFourVideoIE
708 from .twentytwotracks import (
710 TwentyTwoTracksGenreIE
712 from .twitch import (
717 TwitchPastBroadcastsIE,
721 from .twitter import TwitterCardIE, TwitterIE
722 from .ubu import UbuIE
727 from .udn import UDNEmbedIE
728 from .ultimedia import UltimediaIE
729 from .unistra import UnistraIE
730 from .urort import UrortIE
731 from .ustream import UstreamIE, UstreamChannelIE
732 from .varzesh3 import Varzesh3IE
733 from .vbox7 import Vbox7IE
734 from .veehd import VeeHDIE
735 from .veoh import VeohIE
736 from .vessel import VesselIE
737 from .vesti import VestiIE
738 from .vevo import VevoIE
744 from .vh1 import VH1IE
745 from .vice import ViceIE
746 from .viddler import ViddlerIE
747 from .videodetective import VideoDetectiveIE
748 from .videofyme import VideofyMeIE
749 from .videomega import VideoMegaIE
750 from .videopremium import VideoPremiumIE
751 from .videott import VideoTtIE
752 from .vidme import VidmeIE
753 from .vidzi import VidziIE
754 from .vier import VierIE, VierVideosIE
755 from .viewster import ViewsterIE
756 from .viidea import ViideaIE
767 from .vimple import VimpleIE
780 from .vlive import VLiveIE
781 from .vodlocker import VodlockerIE
782 from .voicerepublic import VoiceRepublicIE
783 from .vporn import VpornIE
784 from .vrt import VRTIE
785 from .vube import VubeIE
786 from .vuclip import VuClipIE
787 from .vulture import VultureIE
788 from .walla import WallaIE
789 from .washingtonpost import WashingtonPostIE
790 from .wat import WatIE
791 from .wayofthemaster import WayOfTheMasterIE
797 from .webofstories import (
799 WebOfStoriesPlaylistIE,
801 from .weibo import WeiboIE
802 from .wimp import WimpIE
803 from .wistia import WistiaIE
804 from .worldstarhiphop import WorldStarHipHopIE
805 from .wrzuta import WrzutaIE
806 from .wsj import WSJIE
807 from .xbef import XBefIE
808 from .xboxclips import XboxClipsIE
809 from .xfileshare import XFileShareIE
810 from .xhamster import (
814 from .xminus import XMinusIE
815 from .xnxx import XNXXIE
816 from .xstream import XstreamIE
817 from .xtube import XTubeUserIE, XTubeIE
818 from .xuite import XuiteIE
819 from .xvideos import XVideosIE
820 from .xxxymovies import XXXYMoviesIE
825 from .yam import YamIE
826 from .yandexmusic import (
829 YandexMusicPlaylistIE,
831 from .yesjapan import YesJapanIE
832 from .yinyuetai import YinYueTaiIE
833 from .ynet import YnetIE
834 from .youjizz import YouJizzIE
835 from .youku import YoukuIE
836 from .youporn import YouPornIE
837 from .yourupload import YourUploadIE
838 from .youtube import (
844 YoutubeRecommendedIE,
849 YoutubeSubscriptionsIE,
850 YoutubeTruncatedIDIE,
851 YoutubeTruncatedURLIE,
853 YoutubeUserPlaylistsIE,
856 from .zapiks import ZapiksIE
857 from .zdf import ZDFIE, ZDFChannelIE
858 from .zingmp3 import (
865 for name, klass in globals().items()
866 if name.endswith('IE') and name != 'GenericIE'
868 _ALL_CLASSES.append(GenericIE)
871 def gen_extractors():
872 """ Return a list of an instance of every supported extractor.
873 The order does matter; the first extractor matched is the one handling the URL.
875 return [klass() for klass in _ALL_CLASSES]
878 def list_extractors(age_limit):
880 Return a list of extractors that are suitable for the given age,
881 sorted by extractor ID.
885 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
886 key=lambda ie: ie.IE_NAME.lower())
889 def get_info_extractor(ie_name):
890 """Returns the info extractor class with the given ie_name"""
891 return globals()[ie_name + 'IE']