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
50 from .beeg import BeegIE
51 from .behindkink import BehindKinkIE
52 from .beatportpro import BeatportProIE
53 from .bet import BetIE
54 from .bild import BildIE
55 from .bilibili import BiliBiliIE
56 from .blinkx import BlinkxIE
57 from .bliptv import BlipTVIE, BlipTVUserIE
58 from .bloomberg import BloombergIE
59 from .bpb import BpbIE
61 from .breakcom import BreakIE
62 from .brightcove import BrightcoveIE
63 from .buzzfeed import BuzzFeedIE
64 from .byutv import BYUtvIE
65 from .c56 import C56IE
66 from .camdemy import (
70 from .canal13cl import Canal13clIE
71 from .canalplus import CanalplusIE
72 from .canalc2 import Canalc2IE
73 from .cbs import CBSIE
74 from .cbsnews import CBSNewsIE
75 from .cbssports import CBSSportsIE
76 from .ccc import CCCIE
77 from .ceskatelevize import CeskaTelevizeIE
78 from .channel9 import Channel9IE
79 from .chilloutzone import ChilloutzoneIE
80 from .chirbit import (
84 from .cinchcast import CinchcastIE
85 from .cinemassacre import CinemassacreIE
86 from .clipfish import ClipfishIE
87 from .cliphunter import CliphunterIE
88 from .clipsyndicate import ClipsyndicateIE
89 from .cloudy import CloudyIE
90 from .clubic import ClubicIE
91 from .cmt import CMTIE
92 from .cnet import CNETIE
98 from .collegehumor import CollegeHumorIE
99 from .collegerama import CollegeRamaIE
100 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
101 from .comcarcoff import ComCarCoffIE
102 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
103 from .condenast import CondeNastIE
104 from .cracked import CrackedIE
105 from .criterion import CriterionIE
106 from .crooksandliars import CrooksAndLiarsIE
107 from .crunchyroll import (
109 CrunchyrollShowPlaylistIE
111 from .cspan import CSpanIE
112 from .ctsnews import CtsNewsIE
113 from .dailymotion import (
115 DailymotionPlaylistIE,
119 from .daum import DaumIE
120 from .dbtv import DBTVIE
121 from .dcn import DCNIE
122 from .dctp import DctpTvIE
123 from .deezer import DeezerPlaylistIE
124 from .dfb import DFBIE
125 from .dhm import DHMIE
126 from .dotsub import DotsubIE
127 from .douyutv import DouyuTVIE
128 from .dramafever import (
132 from .dreisat import DreiSatIE
133 from .drbonanza import DRBonanzaIE
134 from .drtuber import DrTuberIE
135 from .drtv import DRTVIE
136 from .dvtv import DVTVIE
137 from .dump import DumpIE
138 from .dumpert import DumpertIE
139 from .defense import DefenseGouvFrIE
140 from .discovery import DiscoveryIE
141 from .divxstage import DivxStageIE
142 from .dropbox import DropboxIE
143 from .eagleplatform import EaglePlatformIE
144 from .ebaumsworld import EbaumsWorldIE
145 from .echomsk import EchoMskIE
146 from .ehow import EHowIE
147 from .eighttracks import EightTracksIE
148 from .einthusan import EinthusanIE
149 from .eitb import EitbIE
150 from .ellentv import (
154 from .elpais import ElPaisIE
155 from .embedly import EmbedlyIE
156 from .engadget import EngadgetIE
157 from .eporner import EpornerIE
158 from .eroprofile import EroProfileIE
159 from .escapist import EscapistIE
160 from .espn import ESPNIE
161 from .everyonesmixtape import EveryonesMixtapeIE
162 from .exfm import ExfmIE
163 from .expotv import ExpoTVIE
164 from .extremetube import ExtremeTubeIE
165 from .facebook import FacebookIE
166 from .faz import FazIE
167 from .fc2 import FC2IE
168 from .firstpost import FirstpostIE
169 from .firsttv import FirstTVIE
170 from .fivemin import FiveMinIE
171 from .fivetv import FiveTVIE
176 from .flickr import FlickrIE
177 from .folketinget import FolketingetIE
178 from .footyroom import FootyRoomIE
179 from .fourtube import FourTubeIE
180 from .foxgay import FoxgayIE
181 from .foxnews import FoxNewsIE
182 from .foxsports import FoxSportsIE
183 from .franceculture import FranceCultureIE
184 from .franceinter import FranceInterIE
185 from .francetv import (
192 from .freesound import FreesoundIE
193 from .freespeech import FreespeechIE
194 from .freevideo import FreeVideoIE
195 from .funnyordie import FunnyOrDieIE
196 from .gamekings import GamekingsIE
197 from .gameone import (
201 from .gamersyde import GamersydeIE
202 from .gamespot import GameSpotIE
203 from .gamestar import GameStarIE
204 from .gametrailers import GametrailersIE
205 from .gazeta import GazetaIE
206 from .gdcvault import GDCVaultIE
207 from .generic import GenericIE
208 from .gfycat import GfycatIE
209 from .giantbomb import GiantBombIE
210 from .giga import GigaIE
211 from .glide import GlideIE
212 from .globo import GloboIE
213 from .godtube import GodTubeIE
214 from .goldenmoustache import GoldenMoustacheIE
215 from .golem import GolemIE
216 from .googleplus import GooglePlusIE
217 from .googlesearch import GoogleSearchIE
218 from .gorillavid import GorillaVidIE
219 from .goshgay import GoshgayIE
220 from .groupon import GrouponIE
221 from .hark import HarkIE
222 from .hearthisat import HearThisAtIE
223 from .heise import HeiseIE
224 from .hellporno import HellPornoIE
225 from .helsinki import HelsinkiIE
226 from .hentaistigma import HentaiStigmaIE
227 from .historicfilms import HistoricFilmsIE
228 from .history import HistoryIE
229 from .hitbox import HitboxIE, HitboxLiveIE
230 from .hornbunny import HornBunnyIE
231 from .hostingbulk import HostingBulkIE
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
243 from .imgur import ImgurIE
244 from .ina import InaIE
245 from .infoq import InfoQIE
246 from .instagram import InstagramIE, InstagramUserIE
247 from .internetvideoarchive import InternetVideoArchiveIE
248 from .iprima import IPrimaIE
249 from .iqiyi import IqiyiIE
250 from .ir90tv import Ir90TvIE
255 from .izlesene import IzleseneIE
256 from .jadorecettepub import JadoreCettePubIE
257 from .jeuxvideo import JeuxVideoIE
258 from .jove import JoveIE
259 from .jukebox import JukeboxIE
260 from .jpopsukitv import JpopsukiIE
261 from .kaltura import KalturaIE
262 from .kanalplay import KanalPlayIE
263 from .kankan import KankanIE
264 from .karaoketv import KaraoketvIE
265 from .karrierevideos import KarriereVideosIE
266 from .keezmovies import KeezMoviesIE
267 from .khanacademy import KhanAcademyIE
268 from .kickstarter import KickStarterIE
269 from .keek import KeekIE
270 from .kontrtube import KontrTubeIE
271 from .krasview import KrasViewIE
272 from .ku6 import Ku6IE
281 from .la7 import LA7IE
282 from .laola1tv import Laola1TvIE
283 from .lecture2go import Lecture2GoIE
289 from .libsyn import LibsynIE
290 from .lifenews import (
294 from .liveleak import LiveLeakIE
295 from .livestream import (
297 LivestreamOriginalIE,
298 LivestreamShortenerIE,
300 from .lnkgo import LnkGoIE
301 from .lrt import LRTIE
307 from .macgamestore import MacGameStoreIE
308 from .mailru import MailRuIE
309 from .malemotion import MalemotionIE
310 from .mdr import MDRIE
311 from .megavideoz import MegaVideozIE
312 from .metacafe import MetacafeIE
313 from .metacritic import MetacriticIE
314 from .mgoon import MgoonIE
315 from .minhateca import MinhatecaIE
316 from .ministrygrid import MinistryGridIE
317 from .miomio import MioMioIE
318 from .mit import TechTVMITIE, MITIE, OCWMITIE
319 from .mitele import MiTeleIE
320 from .mixcloud import MixcloudIE
321 from .mlb import MLBIE
322 from .mpora import MporaIE
323 from .moevideo import MoeVideoIE
324 from .mofosex import MofosexIE
325 from .mojvideo import MojvideoIE
326 from .moniker import MonikerIE
327 from .mooshare import MooshareIE
328 from .morningstar import MorningstarIE
329 from .motherless import MotherlessIE
330 from .motorsport import MotorsportIE
331 from .movieclips import MovieClipsIE
332 from .moviezine import MoviezineIE
333 from .movshare import MovShareIE
336 MTVServicesEmbeddedIE,
339 from .muenchentv import MuenchenTVIE
340 from .musicplayon import MusicPlayOnIE
341 from .musicvault import MusicVaultIE
342 from .muzu import MuzuTVIE
343 from .myspace import MySpaceIE, MySpaceAlbumIE
344 from .myspass import MySpassIE
345 from .myvi import MyviIE
346 from .myvideo import MyVideoIE
347 from .myvidster import MyVidsterIE
348 from .nationalgeographic import NationalGeographicIE
349 from .naver import NaverIE
350 from .nba import NBAIE
361 from .ndtv import NDTVIE
362 from .netzkino import NetzkinoIE
363 from .nerdcubed import NerdCubedFeedIE
364 from .nerdist import NerdistIE
365 from .neteasemusic import (
368 NetEaseMusicSingerIE,
371 NetEaseMusicProgramIE,
372 NetEaseMusicDjRadioIE,
374 from .newgrounds import NewgroundsIE
375 from .newstube import NewstubeIE
376 from .nextmedia import (
378 NextMediaActionNewsIE,
381 from .nfb import NFBIE
382 from .nfl import NFLIE
388 from .niconico import NiconicoIE, NiconicoPlaylistIE
389 from .ninegag import NineGagIE
390 from .noco import NocoIE
391 from .normalboots import NormalbootsIE
392 from .nosvideo import NosVideoIE
393 from .nova import NovaIE
394 from .novamov import NovaMovIE
395 from .nowness import NownessIE
396 from .nowtv import NowTVIE
397 from .nowvideo import NowVideoIE
411 from .ntvde import NTVDeIE
412 from .ntvru import NTVRuIE
413 from .nytimes import (
417 from .nuvid import NuvidIE
418 from .odnoklassniki import OdnoklassnikiIE
419 from .oktoberfesttv import OktoberfestTVIE
420 from .onionstudios import OnionStudiosIE
421 from .ooyala import (
425 from .openfilm import OpenFilmIE
432 from .parliamentliveuk import ParliamentLiveUKIE
433 from .patreon import PatreonIE
434 from .pbs import PBSIE
435 from .periscope import (
439 from .philharmoniedeparis import PhilharmonieDeParisIE
440 from .phoenix import PhoenixIE
441 from .photobucket import PhotobucketIE
442 from .pinkbike import PinkbikeIE
443 from .planetaplay import PlanetaPlayIE
444 from .pladform import PladformIE
445 from .played import PlayedIE
446 from .playfm import PlayFMIE
447 from .playvid import PlayvidIE
448 from .playwire import PlaywireIE
449 from .podomatic import PodomaticIE
450 from .porn91 import Porn91IE
451 from .pornhd import PornHdIE
452 from .pornhub import (
456 from .pornotube import PornotubeIE
457 from .pornovoisines import PornoVoisinesIE
458 from .pornoxo import PornoXOIE
459 from .primesharetv import PrimeShareTVIE
460 from .promptfile import PromptFileIE
461 from .prosiebensat1 import ProSiebenSat1IE
462 from .puls4 import Puls4IE
463 from .pyvideo import PyvideoIE
464 from .qqmusic import (
471 from .quickvid import QuickVidIE
473 from .radiode import RadioDeIE
474 from .radiojavan import RadioJavanIE
475 from .radiobremen import RadioBremenIE
476 from .radiofrance import RadioFranceIE
477 from .rai import RaiIE
478 from .rbmaradio import RBMARadioIE
479 from .rds import RDSIE
480 from .redtube import RedTubeIE
481 from .restudy import RestudyIE
482 from .reverbnation import ReverbNationIE
483 from .ringtv import RingTVIE
484 from .ro220 import Ro220IE
485 from .rottentomatoes import RottenTomatoesIE
486 from .roxwel import RoxwelIE
487 from .rtbf import RTBFIE
488 from .rte import RteIE
489 from .rtlnl import RtlNlIE
490 from .rtl2 import RTL2IE
491 from .rtp import RTPIE
492 from .rts import RTSIE
493 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
494 from .ruhd import RUHDIE
495 from .rutube import (
502 from .rutv import RUTVIE
503 from .ruutu import RuutuIE
504 from .sandia import SandiaIE
505 from .safari import (
509 from .sapo import SapoIE
510 from .savefrom import SaveFromIE
511 from .sbs import SBSIE
512 from .scivee import SciVeeIE
513 from .screencast import ScreencastIE
514 from .screencastomatic import ScreencastOMaticIE
515 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
516 from .senateisvp import SenateISVPIE
517 from .servingsys import ServingSysIE
518 from .sexu import SexuIE
519 from .sexykarma import SexyKarmaIE
520 from .shared import SharedIE
521 from .sharesix import ShareSixIE
522 from .sina import SinaIE
523 from .slideshare import SlideshareIE
524 from .slutload import SlutloadIE
525 from .smotri import (
531 from .snagfilms import (
535 from .snotr import SnotrIE
536 from .sohu import SohuIE
537 from .soompi import (
541 from .soundcloud import (
547 from .soundgasm import (
551 from .southpark import (
558 from .space import SpaceIE
559 from .spankbang import SpankBangIE
560 from .spankwire import SpankwireIE
561 from .spiegel import SpiegelIE, SpiegelArticleIE
562 from .spiegeltv import SpiegeltvIE
563 from .spike import SpikeIE
564 from .sport5 import Sport5IE
565 from .sportbox import (
569 from .sportdeutschland import SportDeutschlandIE
570 from .srf import SrfIE
571 from .srmediathek import SRMediathekIE
572 from .ssa import SSAIE
573 from .stanfordoc import StanfordOpenClassroomIE
574 from .steam import SteamIE
575 from .streamcloud import StreamcloudIE
576 from .streamcz import StreamCZIE
577 from .streetvoice import StreetVoiceIE
578 from .sunporno import SunPornoIE
583 from .swrmediathek import SWRMediathekIE
584 from .syfy import SyfyIE
585 from .sztvhu import SztvHuIE
586 from .tagesschau import TagesschauIE
587 from .tapely import TapelyIE
588 from .tass import TassIE
589 from .teachertube import (
593 from .teachingchannel import TeachingChannelIE
594 from .teamcoco import TeamcocoIE
595 from .techtalks import TechTalksIE
596 from .ted import TEDIE
597 from .telebruxelles import TeleBruxellesIE
598 from .telecinco import TelecincoIE
599 from .telemb import TeleMBIE
600 from .teletask import TeleTaskIE
601 from .tenplay import TenPlayIE
602 from .testurl import TestURLIE
603 from .testtube import TestTubeIE
604 from .tf1 import TF1IE
605 from .theonion import TheOnionIE
606 from .theplatform import ThePlatformIE
607 from .thesixtyone import TheSixtyOneIE
608 from .thisamericanlife import ThisAmericanLifeIE
609 from .thisav import ThisAVIE
610 from .tinypic import TinyPicIE
611 from .tlc import TlcIE, TlcDeIE
616 from .tnaflix import (
621 from .thvideo import (
625 from .toutv import TouTvIE
626 from .toypics import ToypicsUserIE, ToypicsIE
627 from .traileraddict import TrailerAddictIE
628 from .trilulilu import TriluliluIE
629 from .trutube import TruTubeIE
630 from .tube8 import Tube8IE
631 from .tubitv import TubiTvIE
632 from .tudou import TudouIE
633 from .tumblr import TumblrIE
634 from .tunein import TuneInIE
635 from .turbo import TurboIE
636 from .tutv import TutvIE
641 from .tv4 import TV4IE
646 from .tvigle import TvigleIE
647 from .tvp import TvpIE, TvpSeriesIE
648 from .tvplay import TVPlayIE
649 from .tweakers import TweakersIE
650 from .twentyfourvideo import TwentyFourVideoIE
651 from .twentytwotracks import (
653 TwentyTwoTracksGenreIE
655 from .twitch import (
660 TwitchPastBroadcastsIE,
664 from .twitter import TwitterCardIE
665 from .ubu import UbuIE
670 from .udn import UDNEmbedIE
671 from .ultimedia import UltimediaIE
672 from .unistra import UnistraIE
673 from .urort import UrortIE
674 from .ustream import UstreamIE, UstreamChannelIE
675 from .varzesh3 import Varzesh3IE
676 from .vbox7 import Vbox7IE
677 from .veehd import VeeHDIE
678 from .veoh import VeohIE
679 from .vessel import VesselIE
680 from .vesti import VestiIE
681 from .vevo import VevoIE
687 from .vh1 import VH1IE
688 from .vice import ViceIE
689 from .viddler import ViddlerIE
690 from .videobam import VideoBamIE
691 from .videodetective import VideoDetectiveIE
692 from .videolecturesnet import VideoLecturesNetIE
693 from .videofyme import VideofyMeIE
694 from .videomega import VideoMegaIE
695 from .videopremium import VideoPremiumIE
696 from .videott import VideoTtIE
697 from .videoweed import VideoWeedIE
698 from .vidme import VidmeIE
699 from .vidzi import VidziIE
700 from .vier import VierIE, VierVideosIE
701 from .viewster import ViewsterIE
712 from .vimple import VimpleIE
725 from .vodlocker import VodlockerIE
726 from .voicerepublic import VoiceRepublicIE
727 from .vporn import VpornIE
728 from .vrt import VRTIE
729 from .vube import VubeIE
730 from .vuclip import VuClipIE
731 from .vulture import VultureIE
732 from .walla import WallaIE
733 from .washingtonpost import WashingtonPostIE
734 from .wat import WatIE
735 from .wayofthemaster import WayOfTheMasterIE
741 from .webofstories import (
743 WebOfStoriesPlaylistIE,
745 from .weibo import WeiboIE
746 from .wimp import WimpIE
747 from .wistia import WistiaIE
748 from .worldstarhiphop import WorldStarHipHopIE
749 from .wrzuta import WrzutaIE
750 from .wsj import WSJIE
751 from .xbef import XBefIE
752 from .xboxclips import XboxClipsIE
753 from .xhamster import (
757 from .xminus import XMinusIE
758 from .xnxx import XNXXIE
759 from .xstream import XstreamIE
760 from .xtube import XTubeUserIE, XTubeIE
761 from .xuite import XuiteIE
762 from .xvideos import XVideosIE
763 from .xxxymovies import XXXYMoviesIE
768 from .yam import YamIE
769 from .yandexmusic import (
772 YandexMusicPlaylistIE,
774 from .yesjapan import YesJapanIE
775 from .yinyuetai import YinYueTaiIE
776 from .ynet import YnetIE
777 from .youjizz import YouJizzIE
778 from .youku import YoukuIE
779 from .youporn import YouPornIE
780 from .yourupload import YourUploadIE
781 from .youtube import (
787 YoutubeRecommendedIE,
792 YoutubeSubscriptionsIE,
793 YoutubeTruncatedIDIE,
794 YoutubeTruncatedURLIE,
798 from .zapiks import ZapiksIE
799 from .zdf import ZDFIE, ZDFChannelIE
800 from .zingmp3 import (
807 for name, klass in globals().items()
808 if name.endswith('IE') and name != 'GenericIE'
810 _ALL_CLASSES.append(GenericIE)
813 def gen_extractors():
814 """ Return a list of an instance of every supported extractor.
815 The order does matter; the first extractor matched is the one handling the URL.
817 return [klass() for klass in _ALL_CLASSES]
820 def list_extractors(age_limit):
822 Return a list of extractors that are suitable for the given age,
823 sorted by extractor ID.
827 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
828 key=lambda ie: ie.IE_NAME.lower())
831 def get_info_extractor(ie_name):
832 """Returns the info extractor class with the given ie_name"""
833 return globals()[ie_name + 'IE']