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 .funnyordie import FunnyOrDieIE
210 from .gameinformer import GameInformerIE
211 from .gamekings import GamekingsIE
212 from .gameone import (
216 from .gamersyde import GamersydeIE
217 from .gamespot import GameSpotIE
218 from .gamestar import GameStarIE
219 from .gametrailers import GametrailersIE
220 from .gazeta import GazetaIE
221 from .gdcvault import GDCVaultIE
222 from .generic import GenericIE
223 from .gfycat import GfycatIE
224 from .giantbomb import GiantBombIE
225 from .giga import GigaIE
226 from .glide import GlideIE
231 from .godtube import GodTubeIE
232 from .goldenmoustache import GoldenMoustacheIE
233 from .golem import GolemIE
234 from .googleplus import GooglePlusIE
235 from .googlesearch import GoogleSearchIE
236 from .goshgay import GoshgayIE
237 from .groupon import GrouponIE
238 from .hark import HarkIE
239 from .hearthisat import HearThisAtIE
240 from .heise import HeiseIE
241 from .hellporno import HellPornoIE
242 from .helsinki import HelsinkiIE
243 from .hentaistigma import HentaiStigmaIE
244 from .historicfilms import HistoricFilmsIE
245 from .history import HistoryIE
246 from .hitbox import HitboxIE, HitboxLiveIE
247 from .hornbunny import HornBunnyIE
248 from .hotnewhiphop import HotNewHipHopIE
249 from .howcast import HowcastIE
250 from .howstuffworks import HowStuffWorksIE
251 from .huffpost import HuffPostIE
252 from .hypem import HypemIE
253 from .iconosquare import IconosquareIE
254 from .ign import IGNIE, OneUPIE
263 from .ina import InaIE
264 from .indavideo import (
268 from .infoq import InfoQIE
269 from .instagram import InstagramIE, InstagramUserIE
270 from .internetvideoarchive import InternetVideoArchiveIE
271 from .iprima import IPrimaIE
272 from .iqiyi import IqiyiIE
273 from .ir90tv import Ir90TvIE
278 from .izlesene import IzleseneIE
279 from .jadorecettepub import JadoreCettePubIE
280 from .jeuxvideo import JeuxVideoIE
281 from .jove import JoveIE
282 from .jukebox import JukeboxIE
283 from .jpopsukitv import JpopsukiIE
284 from .kaltura import KalturaIE
285 from .kanalplay import KanalPlayIE
286 from .kankan import KankanIE
287 from .karaoketv import KaraoketvIE
288 from .karrierevideos import KarriereVideosIE
289 from .keezmovies import KeezMoviesIE
290 from .khanacademy import KhanAcademyIE
291 from .kickstarter import KickStarterIE
292 from .keek import KeekIE
293 from .kontrtube import KontrTubeIE
294 from .krasview import KrasViewIE
295 from .ku6 import Ku6IE
304 from .la7 import LA7IE
305 from .laola1tv import Laola1TvIE
306 from .lecture2go import Lecture2GoIE
312 from .libsyn import LibsynIE
313 from .lifenews import (
317 from .limelight import (
320 LimelightChannelListIE,
322 from .liveleak import LiveLeakIE
323 from .livestream import (
325 LivestreamOriginalIE,
326 LivestreamShortenerIE,
328 from .lnkgo import LnkGoIE
329 from .lrt import LRTIE
335 from .macgamestore import MacGameStoreIE
336 from .mailru import MailRuIE
337 from .malemotion import MalemotionIE
338 from .mdr import MDRIE
339 from .metacafe import MetacafeIE
340 from .metacritic import MetacriticIE
341 from .mgoon import MgoonIE
342 from .minhateca import MinhatecaIE
343 from .ministrygrid import MinistryGridIE
344 from .miomio import MioMioIE
345 from .mit import TechTVMITIE, MITIE, OCWMITIE
346 from .mitele import MiTeleIE
347 from .mixcloud import MixcloudIE
348 from .mlb import MLBIE
349 from .mpora import MporaIE
350 from .moevideo import MoeVideoIE
351 from .mofosex import MofosexIE
352 from .mojvideo import MojvideoIE
353 from .moniker import MonikerIE
354 from .mooshare import MooshareIE
355 from .morningstar import MorningstarIE
356 from .motherless import MotherlessIE
357 from .motorsport import MotorsportIE
358 from .movieclips import MovieClipsIE
359 from .moviezine import MoviezineIE
362 MTVServicesEmbeddedIE,
366 from .muenchentv import MuenchenTVIE
367 from .musicplayon import MusicPlayOnIE
368 from .muzu import MuzuTVIE
369 from .mwave import MwaveIE
370 from .myspace import MySpaceIE, MySpaceAlbumIE
371 from .myspass import MySpassIE
372 from .myvi import MyviIE
373 from .myvideo import MyVideoIE
374 from .myvidster import MyVidsterIE
375 from .nationalgeographic import NationalGeographicIE
376 from .naver import NaverIE
377 from .nba import NBAIE
392 from .ndtv import NDTVIE
393 from .netzkino import NetzkinoIE
394 from .nerdcubed import NerdCubedFeedIE
395 from .nerdist import NerdistIE
396 from .neteasemusic import (
399 NetEaseMusicSingerIE,
402 NetEaseMusicProgramIE,
403 NetEaseMusicDjRadioIE,
405 from .newgrounds import NewgroundsIE
406 from .newstube import NewstubeIE
407 from .nextmedia import (
409 NextMediaActionNewsIE,
412 from .nfb import NFBIE
413 from .nfl import NFLIE
419 from .niconico import NiconicoIE, NiconicoPlaylistIE
420 from .ninegag import NineGagIE
421 from .noco import NocoIE
422 from .normalboots import NormalbootsIE
423 from .nosvideo import NosVideoIE
424 from .nova import NovaIE
425 from .novamov import (
432 from .nowness import (
454 from .ntvde import NTVDeIE
455 from .ntvru import NTVRuIE
456 from .nytimes import (
460 from .nuvid import NuvidIE
461 from .odnoklassniki import OdnoklassnikiIE
462 from .oktoberfesttv import OktoberfestTVIE
463 from .onionstudios import OnionStudiosIE
464 from .ooyala import (
474 from .parliamentliveuk import ParliamentLiveUKIE
475 from .patreon import PatreonIE
476 from .pbs import PBSIE
477 from .periscope import PeriscopeIE
478 from .philharmoniedeparis import PhilharmonieDeParisIE
479 from .phoenix import PhoenixIE
480 from .photobucket import PhotobucketIE
481 from .pinkbike import PinkbikeIE
482 from .planetaplay import PlanetaPlayIE
483 from .pladform import PladformIE
484 from .played import PlayedIE
485 from .playfm import PlayFMIE
486 from .playtvak import PlaytvakIE
487 from .playvid import PlayvidIE
488 from .playwire import PlaywireIE
489 from .pluralsight import (
493 from .podomatic import PodomaticIE
494 from .porn91 import Porn91IE
495 from .pornhd import PornHdIE
496 from .pornhub import (
500 from .pornotube import PornotubeIE
501 from .pornovoisines import PornoVoisinesIE
502 from .pornoxo import PornoXOIE
503 from .primesharetv import PrimeShareTVIE
504 from .promptfile import PromptFileIE
505 from .prosiebensat1 import ProSiebenSat1IE
506 from .puls4 import Puls4IE
507 from .pyvideo import PyvideoIE
508 from .qqmusic import (
515 from .quickvid import QuickVidIE
517 from .radiode import RadioDeIE
518 from .radiojavan import RadioJavanIE
519 from .radiobremen import RadioBremenIE
520 from .radiofrance import RadioFranceIE
521 from .rai import RaiIE
522 from .rbmaradio import RBMARadioIE
523 from .rds import RDSIE
524 from .redtube import RedTubeIE
525 from .restudy import RestudyIE
526 from .reverbnation import ReverbNationIE
527 from .ringtv import RingTVIE
528 from .ro220 import Ro220IE
529 from .rottentomatoes import RottenTomatoesIE
530 from .roxwel import RoxwelIE
531 from .rtbf import RTBFIE
532 from .rte import RteIE
533 from .rtlnl import RtlNlIE
534 from .rtl2 import RTL2IE
535 from .rtp import RTPIE
536 from .rts import RTSIE
537 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
538 from .rtvnh import RTVNHIE
539 from .ruhd import RUHDIE
540 from .rutube import (
547 from .rutv import RUTVIE
548 from .ruutu import RuutuIE
549 from .sandia import SandiaIE
550 from .safari import (
554 from .sapo import SapoIE
555 from .savefrom import SaveFromIE
556 from .sbs import SBSIE
557 from .scivee import SciVeeIE
558 from .screencast import ScreencastIE
559 from .screencastomatic import ScreencastOMaticIE
560 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
561 from .senateisvp import SenateISVPIE
562 from .servingsys import ServingSysIE
563 from .sexu import SexuIE
564 from .sexykarma import SexyKarmaIE
565 from .shahid import ShahidIE
566 from .shared import SharedIE
567 from .sharesix import ShareSixIE
568 from .sina import SinaIE
569 from .skynewsarabia import (
571 SkyNewsArabiaArticleIE,
573 from .slideshare import SlideshareIE
574 from .slutload import SlutloadIE
575 from .smotri import (
581 from .snagfilms import (
585 from .snotr import SnotrIE
586 from .sohu import SohuIE
587 from .soompi import (
591 from .soundcloud import (
595 SoundcloudPlaylistIE,
598 from .soundgasm import (
602 from .southpark import (
609 from .space import SpaceIE
610 from .spankbang import SpankBangIE
611 from .spankwire import SpankwireIE
612 from .spiegel import SpiegelIE, SpiegelArticleIE
613 from .spiegeltv import SpiegeltvIE
614 from .spike import SpikeIE
615 from .stitcher import StitcherIE
616 from .sport5 import Sport5IE
617 from .sportbox import (
621 from .sportdeutschland import SportDeutschlandIE
622 from .srf import SrfIE
623 from .srmediathek import SRMediathekIE
624 from .ssa import SSAIE
625 from .stanfordoc import StanfordOpenClassroomIE
626 from .steam import SteamIE
627 from .streamcloud import StreamcloudIE
628 from .streamcz import StreamCZIE
629 from .streetvoice import StreetVoiceIE
630 from .sunporno import SunPornoIE
635 from .swrmediathek import SWRMediathekIE
636 from .syfy import SyfyIE
637 from .sztvhu import SztvHuIE
638 from .tagesschau import TagesschauIE
639 from .tapely import TapelyIE
640 from .tass import TassIE
641 from .teachertube import (
645 from .teachingchannel import TeachingChannelIE
646 from .teamcoco import TeamcocoIE
647 from .techtalks import TechTalksIE
648 from .ted import TEDIE
649 from .telebruxelles import TeleBruxellesIE
650 from .telecinco import TelecincoIE
651 from .telegraaf import TelegraafIE
652 from .telemb import TeleMBIE
653 from .teletask import TeleTaskIE
654 from .tenplay import TenPlayIE
655 from .testurl import TestURLIE
656 from .testtube import TestTubeIE
657 from .tf1 import TF1IE
658 from .theonion import TheOnionIE
659 from .theplatform import (
663 from .thesixtyone import TheSixtyOneIE
664 from .thisamericanlife import ThisAmericanLifeIE
665 from .thisav import ThisAVIE
666 from .tinypic import TinyPicIE
667 from .tlc import TlcIE, TlcDeIE
672 from .tnaflix import (
677 from .thvideo import (
681 from .toutv import TouTvIE
682 from .toypics import ToypicsUserIE, ToypicsIE
683 from .traileraddict import TrailerAddictIE
684 from .trilulilu import TriluliluIE
685 from .trutube import TruTubeIE
686 from .tube8 import Tube8IE
687 from .tubitv import TubiTvIE
688 from .tudou import TudouIE
689 from .tumblr import TumblrIE
690 from .tunein import TuneInIE
691 from .turbo import TurboIE
692 from .tutv import TutvIE
697 from .tv4 import TV4IE
702 from .tvigle import TvigleIE
703 from .tvp import TvpIE, TvpSeriesIE
704 from .tvplay import TVPlayIE
705 from .tweakers import TweakersIE
706 from .twentyfourvideo import TwentyFourVideoIE
707 from .twentytwotracks import (
709 TwentyTwoTracksGenreIE
711 from .twitch import (
716 TwitchPastBroadcastsIE,
720 from .twitter import TwitterCardIE, TwitterIE
721 from .ubu import UbuIE
726 from .udn import UDNEmbedIE
727 from .ultimedia import UltimediaIE
728 from .unistra import UnistraIE
729 from .urort import UrortIE
730 from .ustream import UstreamIE, UstreamChannelIE
731 from .varzesh3 import Varzesh3IE
732 from .vbox7 import Vbox7IE
733 from .veehd import VeeHDIE
734 from .veoh import VeohIE
735 from .vessel import VesselIE
736 from .vesti import VestiIE
737 from .vevo import VevoIE
743 from .vh1 import VH1IE
744 from .vice import ViceIE
745 from .viddler import ViddlerIE
746 from .videodetective import VideoDetectiveIE
747 from .videofyme import VideofyMeIE
748 from .videomega import VideoMegaIE
749 from .videopremium import VideoPremiumIE
750 from .videott import VideoTtIE
751 from .vidme import VidmeIE
752 from .vidzi import VidziIE
753 from .vier import VierIE, VierVideosIE
754 from .viewster import ViewsterIE
755 from .viidea import ViideaIE
766 from .vimple import VimpleIE
779 from .vlive import VLiveIE
780 from .vodlocker import VodlockerIE
781 from .voicerepublic import VoiceRepublicIE
782 from .vporn import VpornIE
783 from .vrt import VRTIE
784 from .vube import VubeIE
785 from .vuclip import VuClipIE
786 from .vulture import VultureIE
787 from .walla import WallaIE
788 from .washingtonpost import WashingtonPostIE
789 from .wat import WatIE
790 from .wayofthemaster import WayOfTheMasterIE
796 from .webofstories import (
798 WebOfStoriesPlaylistIE,
800 from .weibo import WeiboIE
801 from .wimp import WimpIE
802 from .wistia import WistiaIE
803 from .worldstarhiphop import WorldStarHipHopIE
804 from .wrzuta import WrzutaIE
805 from .wsj import WSJIE
806 from .xbef import XBefIE
807 from .xboxclips import XboxClipsIE
808 from .xfileshare import XFileShareIE
809 from .xhamster import (
813 from .xminus import XMinusIE
814 from .xnxx import XNXXIE
815 from .xstream import XstreamIE
816 from .xtube import XTubeUserIE, XTubeIE
817 from .xuite import XuiteIE
818 from .xvideos import XVideosIE
819 from .xxxymovies import XXXYMoviesIE
824 from .yam import YamIE
825 from .yandexmusic import (
828 YandexMusicPlaylistIE,
830 from .yesjapan import YesJapanIE
831 from .yinyuetai import YinYueTaiIE
832 from .ynet import YnetIE
833 from .youjizz import YouJizzIE
834 from .youku import YoukuIE
835 from .youporn import YouPornIE
836 from .yourupload import YourUploadIE
837 from .youtube import (
843 YoutubeRecommendedIE,
848 YoutubeSubscriptionsIE,
849 YoutubeTruncatedIDIE,
850 YoutubeTruncatedURLIE,
852 YoutubeUserPlaylistsIE,
855 from .zapiks import ZapiksIE
856 from .zdf import ZDFIE, ZDFChannelIE
857 from .zingmp3 import (
864 for name, klass in globals().items()
865 if name.endswith('IE') and name != 'GenericIE'
867 _ALL_CLASSES.append(GenericIE)
870 def gen_extractors():
871 """ Return a list of an instance of every supported extractor.
872 The order does matter; the first extractor matched is the one handling the URL.
874 return [klass() for klass in _ALL_CLASSES]
877 def list_extractors(age_limit):
879 Return a list of extractors that are suitable for the given age,
880 sorted by extractor ID.
884 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
885 key=lambda ie: ie.IE_NAME.lower())
888 def get_info_extractor(ie_name):
889 """Returns the info extractor class with the given ie_name"""
890 return globals()[ie_name + 'IE']