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 BrightcoveIE
64 from .buzzfeed import BuzzFeedIE
65 from .byutv import BYUtvIE
66 from .c56 import C56IE
67 from .camdemy import (
71 from .canal13cl import Canal13clIE
72 from .canalplus import CanalplusIE
73 from .canalc2 import Canalc2IE
74 from .cbs import CBSIE
75 from .cbsnews import CBSNewsIE
76 from .cbssports import CBSSportsIE
77 from .ccc import CCCIE
78 from .ceskatelevize import CeskaTelevizeIE
79 from .channel9 import Channel9IE
80 from .chaturbate import ChaturbateIE
81 from .chilloutzone import ChilloutzoneIE
82 from .chirbit import (
86 from .cinchcast import CinchcastIE
87 from .cinemassacre import CinemassacreIE
88 from .clipfish import ClipfishIE
89 from .cliphunter import CliphunterIE
90 from .clipsyndicate import ClipsyndicateIE
91 from .cloudy import CloudyIE
92 from .clubic import ClubicIE
93 from .cmt import CMTIE
94 from .cnet import CNETIE
100 from .collegehumor import CollegeHumorIE
101 from .collegerama import CollegeRamaIE
102 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
103 from .comcarcoff import ComCarCoffIE
104 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
105 from .condenast import CondeNastIE
106 from .cracked import CrackedIE
107 from .criterion import CriterionIE
108 from .crooksandliars import CrooksAndLiarsIE
109 from .crunchyroll import (
111 CrunchyrollShowPlaylistIE
113 from .cspan import CSpanIE
114 from .ctsnews import CtsNewsIE
115 from .dailymotion import (
117 DailymotionPlaylistIE,
121 from .daum import DaumIE
122 from .dbtv import DBTVIE
123 from .dcn import DCNIE
124 from .dctp import DctpTvIE
125 from .deezer import DeezerPlaylistIE
126 from .dfb import DFBIE
127 from .dhm import DHMIE
128 from .dotsub import DotsubIE
129 from .douyutv import DouyuTVIE
130 from .dramafever import (
134 from .dreisat import DreiSatIE
135 from .drbonanza import DRBonanzaIE
136 from .drtuber import DrTuberIE
137 from .drtv import DRTVIE
138 from .dvtv import DVTVIE
139 from .dump import DumpIE
140 from .dumpert import DumpertIE
141 from .defense import DefenseGouvFrIE
142 from .discovery import DiscoveryIE
143 from .dropbox import DropboxIE
144 from .eagleplatform import EaglePlatformIE
145 from .ebaumsworld import EbaumsWorldIE
146 from .echomsk import EchoMskIE
147 from .ehow import EHowIE
148 from .eighttracks import EightTracksIE
149 from .einthusan import EinthusanIE
150 from .eitb import EitbIE
151 from .ellentv import (
155 from .elpais import ElPaisIE
156 from .embedly import EmbedlyIE
157 from .engadget import EngadgetIE
158 from .eporner import EpornerIE
159 from .eroprofile import EroProfileIE
160 from .escapist import EscapistIE
161 from .espn import ESPNIE
162 from .esri import EsriVideoIE
163 from .europa import EuropaIE
164 from .everyonesmixtape import EveryonesMixtapeIE
165 from .exfm import ExfmIE
166 from .expotv import ExpoTVIE
167 from .extremetube import ExtremeTubeIE
168 from .facebook import FacebookIE
169 from .faz import FazIE
170 from .fc2 import FC2IE
171 from .fczenit import FczenitIE
172 from .firstpost import FirstpostIE
173 from .firsttv import FirstTVIE
174 from .fivemin import FiveMinIE
175 from .fivetv import FiveTVIE
176 from .fktv import FKTVIE
177 from .flickr import FlickrIE
178 from .folketinget import FolketingetIE
179 from .footyroom import FootyRoomIE
180 from .fourtube import FourTubeIE
181 from .foxgay import FoxgayIE
182 from .foxnews import FoxNewsIE
183 from .foxsports import FoxSportsIE
184 from .franceculture import FranceCultureIE
185 from .franceinter import FranceInterIE
186 from .francetv import (
193 from .freesound import FreesoundIE
194 from .freespeech import FreespeechIE
195 from .freevideo import FreeVideoIE
196 from .funnyordie import FunnyOrDieIE
197 from .gamekings import GamekingsIE
198 from .gameone import (
202 from .gamersyde import GamersydeIE
203 from .gamespot import GameSpotIE
204 from .gamestar import GameStarIE
205 from .gametrailers import GametrailersIE
206 from .gazeta import GazetaIE
207 from .gdcvault import GDCVaultIE
208 from .generic import GenericIE
209 from .gfycat import GfycatIE
210 from .giantbomb import GiantBombIE
211 from .giga import GigaIE
212 from .glide import GlideIE
213 from .globo import GloboIE
214 from .godtube import GodTubeIE
215 from .goldenmoustache import GoldenMoustacheIE
216 from .golem import GolemIE
217 from .googleplus import GooglePlusIE
218 from .googlesearch import GoogleSearchIE
219 from .gorillavid import GorillaVidIE
220 from .goshgay import GoshgayIE
221 from .groupon import GrouponIE
222 from .hark import HarkIE
223 from .hearthisat import HearThisAtIE
224 from .heise import HeiseIE
225 from .hellporno import HellPornoIE
226 from .helsinki import HelsinkiIE
227 from .hentaistigma import HentaiStigmaIE
228 from .historicfilms import HistoricFilmsIE
229 from .history import HistoryIE
230 from .hitbox import HitboxIE, HitboxLiveIE
231 from .hornbunny import HornBunnyIE
232 from .hotnewhiphop import HotNewHipHopIE
233 from .howcast import HowcastIE
234 from .howstuffworks import HowStuffWorksIE
235 from .huffpost import HuffPostIE
236 from .hypem import HypemIE
237 from .iconosquare import IconosquareIE
238 from .ign import IGNIE, OneUPIE
247 from .ina import InaIE
248 from .indavideo import (
252 from .infoq import InfoQIE
253 from .instagram import InstagramIE, InstagramUserIE
254 from .internetvideoarchive import InternetVideoArchiveIE
255 from .iprima import IPrimaIE
256 from .iqiyi import IqiyiIE
257 from .ir90tv import Ir90TvIE
262 from .izlesene import IzleseneIE
263 from .jadorecettepub import JadoreCettePubIE
264 from .jeuxvideo import JeuxVideoIE
265 from .jove import JoveIE
266 from .jukebox import JukeboxIE
267 from .jpopsukitv import JpopsukiIE
268 from .kaltura import KalturaIE
269 from .kanalplay import KanalPlayIE
270 from .kankan import KankanIE
271 from .karaoketv import KaraoketvIE
272 from .karrierevideos import KarriereVideosIE
273 from .keezmovies import KeezMoviesIE
274 from .khanacademy import KhanAcademyIE
275 from .kickstarter import KickStarterIE
276 from .keek import KeekIE
277 from .kontrtube import KontrTubeIE
278 from .krasview import KrasViewIE
279 from .ku6 import Ku6IE
288 from .la7 import LA7IE
289 from .laola1tv import Laola1TvIE
290 from .lecture2go import Lecture2GoIE
296 from .libsyn import LibsynIE
297 from .lifenews import (
301 from .limelight import (
304 LimelightChannelListIE,
306 from .liveleak import LiveLeakIE
307 from .livestream import (
309 LivestreamOriginalIE,
310 LivestreamShortenerIE,
312 from .lnkgo import LnkGoIE
313 from .lrt import LRTIE
319 from .macgamestore import MacGameStoreIE
320 from .mailru import MailRuIE
321 from .malemotion import MalemotionIE
322 from .mdr import MDRIE
323 from .metacafe import MetacafeIE
324 from .metacritic import MetacriticIE
325 from .mgoon import MgoonIE
326 from .minhateca import MinhatecaIE
327 from .ministrygrid import MinistryGridIE
328 from .miomio import MioMioIE
329 from .mit import TechTVMITIE, MITIE, OCWMITIE
330 from .mitele import MiTeleIE
331 from .mixcloud import MixcloudIE
332 from .mlb import MLBIE
333 from .mpora import MporaIE
334 from .moevideo import MoeVideoIE
335 from .mofosex import MofosexIE
336 from .mojvideo import MojvideoIE
337 from .moniker import MonikerIE
338 from .mooshare import MooshareIE
339 from .morningstar import MorningstarIE
340 from .motherless import MotherlessIE
341 from .motorsport import MotorsportIE
342 from .movieclips import MovieClipsIE
343 from .moviezine import MoviezineIE
344 from .movshare import MovShareIE
347 MTVServicesEmbeddedIE,
351 from .muenchentv import MuenchenTVIE
352 from .musicplayon import MusicPlayOnIE
353 from .muzu import MuzuTVIE
354 from .mwave import MwaveIE
355 from .myspace import MySpaceIE, MySpaceAlbumIE
356 from .myspass import MySpassIE
357 from .myvi import MyviIE
358 from .myvideo import MyVideoIE
359 from .myvidster import MyVidsterIE
360 from .nationalgeographic import NationalGeographicIE
361 from .naver import NaverIE
362 from .nba import NBAIE
377 from .ndtv import NDTVIE
378 from .netzkino import NetzkinoIE
379 from .nerdcubed import NerdCubedFeedIE
380 from .nerdist import NerdistIE
381 from .neteasemusic import (
384 NetEaseMusicSingerIE,
387 NetEaseMusicProgramIE,
388 NetEaseMusicDjRadioIE,
390 from .newgrounds import NewgroundsIE
391 from .newstube import NewstubeIE
392 from .nextmedia import (
394 NextMediaActionNewsIE,
397 from .nfb import NFBIE
398 from .nfl import NFLIE
404 from .niconico import NiconicoIE, NiconicoPlaylistIE
405 from .ninegag import NineGagIE
406 from .noco import NocoIE
407 from .normalboots import NormalbootsIE
408 from .nosvideo import NosVideoIE
409 from .nova import NovaIE
410 from .novamov import NovaMovIE
411 from .nowness import (
416 from .nowtv import NowTVIE
417 from .nowvideo import NowVideoIE
431 from .ntvde import NTVDeIE
432 from .ntvru import NTVRuIE
433 from .nytimes import (
437 from .nuvid import NuvidIE
438 from .odnoklassniki import OdnoklassnikiIE
439 from .oktoberfesttv import OktoberfestTVIE
440 from .onionstudios import OnionStudiosIE
441 from .ooyala import (
451 from .parliamentliveuk import ParliamentLiveUKIE
452 from .patreon import PatreonIE
453 from .pbs import PBSIE
454 from .periscope import (
458 from .philharmoniedeparis import PhilharmonieDeParisIE
459 from .phoenix import PhoenixIE
460 from .photobucket import PhotobucketIE
461 from .pinkbike import PinkbikeIE
462 from .planetaplay import PlanetaPlayIE
463 from .pladform import PladformIE
464 from .played import PlayedIE
465 from .playfm import PlayFMIE
466 from .playtvak import PlaytvakIE
467 from .playvid import PlayvidIE
468 from .playwire import PlaywireIE
469 from .pluralsight import (
473 from .podomatic import PodomaticIE
474 from .porn91 import Porn91IE
475 from .pornhd import PornHdIE
476 from .pornhub import (
480 from .pornotube import PornotubeIE
481 from .pornovoisines import PornoVoisinesIE
482 from .pornoxo import PornoXOIE
483 from .primesharetv import PrimeShareTVIE
484 from .promptfile import PromptFileIE
485 from .prosiebensat1 import ProSiebenSat1IE
486 from .puls4 import Puls4IE
487 from .pyvideo import PyvideoIE
488 from .qqmusic import (
495 from .quickvid import QuickVidIE
497 from .radiode import RadioDeIE
498 from .radiojavan import RadioJavanIE
499 from .radiobremen import RadioBremenIE
500 from .radiofrance import RadioFranceIE
501 from .rai import RaiIE
502 from .rbmaradio import RBMARadioIE
503 from .rds import RDSIE
504 from .redtube import RedTubeIE
505 from .restudy import RestudyIE
506 from .reverbnation import ReverbNationIE
507 from .ringtv import RingTVIE
508 from .ro220 import Ro220IE
509 from .rottentomatoes import RottenTomatoesIE
510 from .roxwel import RoxwelIE
511 from .rtbf import RTBFIE
512 from .rte import RteIE
513 from .rtlnl import RtlNlIE
514 from .rtl2 import RTL2IE
515 from .rtp import RTPIE
516 from .rts import RTSIE
517 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
518 from .rtvnh import RTVNHIE
519 from .ruhd import RUHDIE
520 from .rutube import (
527 from .rutv import RUTVIE
528 from .ruutu import RuutuIE
529 from .sandia import SandiaIE
530 from .safari import (
534 from .sapo import SapoIE
535 from .savefrom import SaveFromIE
536 from .sbs import SBSIE
537 from .scivee import SciVeeIE
538 from .screencast import ScreencastIE
539 from .screencastomatic import ScreencastOMaticIE
540 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
541 from .senateisvp import SenateISVPIE
542 from .servingsys import ServingSysIE
543 from .sexu import SexuIE
544 from .sexykarma import SexyKarmaIE
545 from .shahid import ShahidIE
546 from .shared import SharedIE
547 from .sharesix import ShareSixIE
548 from .sina import SinaIE
549 from .slideshare import SlideshareIE
550 from .slutload import SlutloadIE
551 from .smotri import (
557 from .snagfilms import (
561 from .snotr import SnotrIE
562 from .sohu import SohuIE
563 from .soompi import (
567 from .soundcloud import (
573 from .soundgasm import (
577 from .southpark import (
584 from .space import SpaceIE
585 from .spankbang import SpankBangIE
586 from .spankwire import SpankwireIE
587 from .spiegel import SpiegelIE, SpiegelArticleIE
588 from .spiegeltv import SpiegeltvIE
589 from .spike import SpikeIE
590 from .stitcher import StitcherIE
591 from .sport5 import Sport5IE
592 from .sportbox import (
596 from .sportdeutschland import SportDeutschlandIE
597 from .srf import SrfIE
598 from .srmediathek import SRMediathekIE
599 from .ssa import SSAIE
600 from .stanfordoc import StanfordOpenClassroomIE
601 from .steam import SteamIE
602 from .streamcloud import StreamcloudIE
603 from .streamcz import StreamCZIE
604 from .streetvoice import StreetVoiceIE
605 from .sunporno import SunPornoIE
610 from .swrmediathek import SWRMediathekIE
611 from .syfy import SyfyIE
612 from .sztvhu import SztvHuIE
613 from .tagesschau import TagesschauIE
614 from .tapely import TapelyIE
615 from .tass import TassIE
616 from .teachertube import (
620 from .teachingchannel import TeachingChannelIE
621 from .teamcoco import TeamcocoIE
622 from .techtalks import TechTalksIE
623 from .ted import TEDIE
624 from .telebruxelles import TeleBruxellesIE
625 from .telecinco import TelecincoIE
626 from .telegraaf import TelegraafIE
627 from .telemb import TeleMBIE
628 from .teletask import TeleTaskIE
629 from .tenplay import TenPlayIE
630 from .testurl import TestURLIE
631 from .testtube import TestTubeIE
632 from .tf1 import TF1IE
633 from .theonion import TheOnionIE
634 from .theplatform import (
638 from .thesixtyone import TheSixtyOneIE
639 from .thisamericanlife import ThisAmericanLifeIE
640 from .thisav import ThisAVIE
641 from .tinypic import TinyPicIE
642 from .tlc import TlcIE, TlcDeIE
647 from .tnaflix import (
652 from .thvideo import (
656 from .toutv import TouTvIE
657 from .toypics import ToypicsUserIE, ToypicsIE
658 from .traileraddict import TrailerAddictIE
659 from .trilulilu import TriluliluIE
660 from .trutube import TruTubeIE
661 from .tube8 import Tube8IE
662 from .tubitv import TubiTvIE
663 from .tudou import TudouIE
664 from .tumblr import TumblrIE
665 from .tunein import TuneInIE
666 from .turbo import TurboIE
667 from .tutv import TutvIE
672 from .tv4 import TV4IE
677 from .tvigle import TvigleIE
678 from .tvp import TvpIE, TvpSeriesIE
679 from .tvplay import TVPlayIE
680 from .tweakers import TweakersIE
681 from .twentyfourvideo import TwentyFourVideoIE
682 from .twentytwotracks import (
684 TwentyTwoTracksGenreIE
686 from .twitch import (
691 TwitchPastBroadcastsIE,
695 from .twitter import TwitterCardIE, TwitterIE
696 from .ubu import UbuIE
701 from .udn import UDNEmbedIE
702 from .ultimedia import UltimediaIE
703 from .unistra import UnistraIE
704 from .urort import UrortIE
705 from .ustream import UstreamIE, UstreamChannelIE
706 from .varzesh3 import Varzesh3IE
707 from .vbox7 import Vbox7IE
708 from .veehd import VeeHDIE
709 from .veoh import VeohIE
710 from .vessel import VesselIE
711 from .vesti import VestiIE
712 from .vevo import VevoIE
718 from .vh1 import VH1IE
719 from .vice import ViceIE
720 from .viddler import ViddlerIE
721 from .videodetective import VideoDetectiveIE
722 from .videolecturesnet import VideoLecturesNetIE
723 from .videofyme import VideofyMeIE
724 from .videomega import VideoMegaIE
725 from .videopremium import VideoPremiumIE
726 from .videott import VideoTtIE
727 from .videoweed import VideoWeedIE
728 from .vidme import VidmeIE
729 from .vidzi import VidziIE
730 from .vier import VierIE, VierVideosIE
731 from .viewster import ViewsterIE
742 from .vimple import VimpleIE
755 from .vlive import VLiveIE
756 from .vodlocker import VodlockerIE
757 from .voicerepublic import VoiceRepublicIE
758 from .vporn import VpornIE
759 from .vrt import VRTIE
760 from .vube import VubeIE
761 from .vuclip import VuClipIE
762 from .vulture import VultureIE
763 from .walla import WallaIE
764 from .washingtonpost import WashingtonPostIE
765 from .wat import WatIE
766 from .wayofthemaster import WayOfTheMasterIE
772 from .webofstories import (
774 WebOfStoriesPlaylistIE,
776 from .weibo import WeiboIE
777 from .wimp import WimpIE
778 from .wistia import WistiaIE
779 from .worldstarhiphop import WorldStarHipHopIE
780 from .wrzuta import WrzutaIE
781 from .wsj import WSJIE
782 from .xbef import XBefIE
783 from .xboxclips import XboxClipsIE
784 from .xhamster import (
788 from .xminus import XMinusIE
789 from .xnxx import XNXXIE
790 from .xstream import XstreamIE
791 from .xtube import XTubeUserIE, XTubeIE
792 from .xuite import XuiteIE
793 from .xvideos import XVideosIE
794 from .xxxymovies import XXXYMoviesIE
799 from .yam import YamIE
800 from .yandexmusic import (
803 YandexMusicPlaylistIE,
805 from .yesjapan import YesJapanIE
806 from .yinyuetai import YinYueTaiIE
807 from .ynet import YnetIE
808 from .youjizz import YouJizzIE
809 from .youku import YoukuIE
810 from .youporn import YouPornIE
811 from .yourupload import YourUploadIE
812 from .youtube import (
818 YoutubeRecommendedIE,
823 YoutubeSubscriptionsIE,
824 YoutubeTruncatedIDIE,
825 YoutubeTruncatedURLIE,
829 from .zapiks import ZapiksIE
830 from .zdf import ZDFIE, ZDFChannelIE
831 from .zingmp3 import (
838 for name, klass in globals().items()
839 if name.endswith('IE') and name != 'GenericIE'
841 _ALL_CLASSES.append(GenericIE)
844 def gen_extractors():
845 """ Return a list of an instance of every supported extractor.
846 The order does matter; the first extractor matched is the one handling the URL.
848 return [klass() for klass in _ALL_CLASSES]
851 def list_extractors(age_limit):
853 Return a list of extractors that are suitable for the given age,
854 sorted by extractor ID.
858 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
859 key=lambda ie: ie.IE_NAME.lower())
862 def get_info_extractor(ie_name):
863 """Returns the info extractor class with the given ie_name"""
864 return globals()[ie_name + 'IE']