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 PeriscopeIE
436 from .philharmoniedeparis import PhilharmonieDeParisIE
437 from .phoenix import PhoenixIE
438 from .photobucket import PhotobucketIE
439 from .pinkbike import PinkbikeIE
440 from .planetaplay import PlanetaPlayIE
441 from .pladform import PladformIE
442 from .played import PlayedIE
443 from .playfm import PlayFMIE
444 from .playvid import PlayvidIE
445 from .playwire import PlaywireIE
446 from .podomatic import PodomaticIE
447 from .porn91 import Porn91IE
448 from .pornhd import PornHdIE
449 from .pornhub import (
453 from .pornotube import PornotubeIE
454 from .pornovoisines import PornoVoisinesIE
455 from .pornoxo import PornoXOIE
456 from .primesharetv import PrimeShareTVIE
457 from .promptfile import PromptFileIE
458 from .prosiebensat1 import ProSiebenSat1IE
459 from .puls4 import Puls4IE
460 from .pyvideo import PyvideoIE
461 from .qqmusic import (
468 from .quickvid import QuickVidIE
470 from .radiode import RadioDeIE
471 from .radiojavan import RadioJavanIE
472 from .radiobremen import RadioBremenIE
473 from .radiofrance import RadioFranceIE
474 from .rai import RaiIE
475 from .rbmaradio import RBMARadioIE
476 from .rds import RDSIE
477 from .redtube import RedTubeIE
478 from .restudy import RestudyIE
479 from .reverbnation import ReverbNationIE
480 from .ringtv import RingTVIE
481 from .ro220 import Ro220IE
482 from .rottentomatoes import RottenTomatoesIE
483 from .roxwel import RoxwelIE
484 from .rtbf import RTBFIE
485 from .rte import RteIE
486 from .rtlnl import RtlNlIE
487 from .rtl2 import RTL2IE
488 from .rtp import RTPIE
489 from .rts import RTSIE
490 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
491 from .ruhd import RUHDIE
492 from .rutube import (
499 from .rutv import RUTVIE
500 from .ruutu import RuutuIE
501 from .sandia import SandiaIE
502 from .safari import (
506 from .sapo import SapoIE
507 from .savefrom import SaveFromIE
508 from .sbs import SBSIE
509 from .scivee import SciVeeIE
510 from .screencast import ScreencastIE
511 from .screencastomatic import ScreencastOMaticIE
512 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
513 from .senateisvp import SenateISVPIE
514 from .servingsys import ServingSysIE
515 from .sexu import SexuIE
516 from .sexykarma import SexyKarmaIE
517 from .shared import SharedIE
518 from .sharesix import ShareSixIE
519 from .sina import SinaIE
520 from .slideshare import SlideshareIE
521 from .slutload import SlutloadIE
522 from .smotri import (
528 from .snagfilms import (
532 from .snotr import SnotrIE
533 from .sohu import SohuIE
534 from .soompi import (
538 from .soundcloud import (
544 from .soundgasm import (
548 from .southpark import (
555 from .space import SpaceIE
556 from .spankbang import SpankBangIE
557 from .spankwire import SpankwireIE
558 from .spiegel import SpiegelIE, SpiegelArticleIE
559 from .spiegeltv import SpiegeltvIE
560 from .spike import SpikeIE
561 from .sport5 import Sport5IE
562 from .sportbox import (
566 from .sportdeutschland import SportDeutschlandIE
567 from .srf import SrfIE
568 from .srmediathek import SRMediathekIE
569 from .ssa import SSAIE
570 from .stanfordoc import StanfordOpenClassroomIE
571 from .steam import SteamIE
572 from .streamcloud import StreamcloudIE
573 from .streamcz import StreamCZIE
574 from .streetvoice import StreetVoiceIE
575 from .sunporno import SunPornoIE
580 from .swrmediathek import SWRMediathekIE
581 from .syfy import SyfyIE
582 from .sztvhu import SztvHuIE
583 from .tagesschau import TagesschauIE
584 from .tapely import TapelyIE
585 from .tass import TassIE
586 from .teachertube import (
590 from .teachingchannel import TeachingChannelIE
591 from .teamcoco import TeamcocoIE
592 from .techtalks import TechTalksIE
593 from .ted import TEDIE
594 from .telebruxelles import TeleBruxellesIE
595 from .telecinco import TelecincoIE
596 from .telemb import TeleMBIE
597 from .teletask import TeleTaskIE
598 from .tenplay import TenPlayIE
599 from .testurl import TestURLIE
600 from .testtube import TestTubeIE
601 from .tf1 import TF1IE
602 from .theonion import TheOnionIE
603 from .theplatform import ThePlatformIE
604 from .thesixtyone import TheSixtyOneIE
605 from .thisamericanlife import ThisAmericanLifeIE
606 from .thisav import ThisAVIE
607 from .tinypic import TinyPicIE
608 from .tlc import TlcIE, TlcDeIE
613 from .tnaflix import (
618 from .thvideo import (
622 from .toutv import TouTvIE
623 from .toypics import ToypicsUserIE, ToypicsIE
624 from .traileraddict import TrailerAddictIE
625 from .trilulilu import TriluliluIE
626 from .trutube import TruTubeIE
627 from .tube8 import Tube8IE
628 from .tubitv import TubiTvIE
629 from .tudou import TudouIE
630 from .tumblr import TumblrIE
631 from .tunein import TuneInIE
632 from .turbo import TurboIE
633 from .tutv import TutvIE
638 from .tv4 import TV4IE
643 from .tvigle import TvigleIE
644 from .tvp import TvpIE, TvpSeriesIE
645 from .tvplay import TVPlayIE
646 from .tweakers import TweakersIE
647 from .twentyfourvideo import TwentyFourVideoIE
648 from .twentytwotracks import (
650 TwentyTwoTracksGenreIE
652 from .twitch import (
657 TwitchPastBroadcastsIE,
661 from .twitter import TwitterCardIE
662 from .ubu import UbuIE
667 from .udn import UDNEmbedIE
668 from .ultimedia import UltimediaIE
669 from .unistra import UnistraIE
670 from .urort import UrortIE
671 from .ustream import UstreamIE, UstreamChannelIE
672 from .varzesh3 import Varzesh3IE
673 from .vbox7 import Vbox7IE
674 from .veehd import VeeHDIE
675 from .veoh import VeohIE
676 from .vessel import VesselIE
677 from .vesti import VestiIE
678 from .vevo import VevoIE
684 from .vh1 import VH1IE
685 from .vice import ViceIE
686 from .viddler import ViddlerIE
687 from .videobam import VideoBamIE
688 from .videodetective import VideoDetectiveIE
689 from .videolecturesnet import VideoLecturesNetIE
690 from .videofyme import VideofyMeIE
691 from .videomega import VideoMegaIE
692 from .videopremium import VideoPremiumIE
693 from .videott import VideoTtIE
694 from .videoweed import VideoWeedIE
695 from .vidme import VidmeIE
696 from .vidzi import VidziIE
697 from .vier import VierIE, VierVideosIE
698 from .viewster import ViewsterIE
709 from .vimple import VimpleIE
722 from .vodlocker import VodlockerIE
723 from .voicerepublic import VoiceRepublicIE
724 from .vporn import VpornIE
725 from .vrt import VRTIE
726 from .vube import VubeIE
727 from .vuclip import VuClipIE
728 from .vulture import VultureIE
729 from .walla import WallaIE
730 from .washingtonpost import WashingtonPostIE
731 from .wat import WatIE
732 from .wayofthemaster import WayOfTheMasterIE
738 from .webofstories import (
740 WebOfStoriesPlaylistIE,
742 from .weibo import WeiboIE
743 from .wimp import WimpIE
744 from .wistia import WistiaIE
745 from .worldstarhiphop import WorldStarHipHopIE
746 from .wrzuta import WrzutaIE
747 from .wsj import WSJIE
748 from .xbef import XBefIE
749 from .xboxclips import XboxClipsIE
750 from .xhamster import (
754 from .xminus import XMinusIE
755 from .xnxx import XNXXIE
756 from .xstream import XstreamIE
757 from .xtube import XTubeUserIE, XTubeIE
758 from .xuite import XuiteIE
759 from .xvideos import XVideosIE
760 from .xxxymovies import XXXYMoviesIE
765 from .yam import YamIE
766 from .yandexmusic import (
769 YandexMusicPlaylistIE,
771 from .yesjapan import YesJapanIE
772 from .yinyuetai import YinYueTaiIE
773 from .ynet import YnetIE
774 from .youjizz import YouJizzIE
775 from .youku import YoukuIE
776 from .youporn import YouPornIE
777 from .yourupload import YourUploadIE
778 from .youtube import (
784 YoutubeRecommendedIE,
789 YoutubeSubscriptionsIE,
790 YoutubeTruncatedIDIE,
791 YoutubeTruncatedURLIE,
795 from .zapiks import ZapiksIE
796 from .zdf import ZDFIE, ZDFChannelIE
797 from .zingmp3 import (
804 for name, klass in globals().items()
805 if name.endswith('IE') and name != 'GenericIE'
807 _ALL_CLASSES.append(GenericIE)
810 def gen_extractors():
811 """ Return a list of an instance of every supported extractor.
812 The order does matter; the first extractor matched is the one handling the URL.
814 return [klass() for klass in _ALL_CLASSES]
817 def list_extractors(age_limit):
819 Return a list of extractors that are suitable for the given age,
820 sorted by extractor ID.
824 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
825 key=lambda ie: ie.IE_NAME.lower())
828 def get_info_extractor(ie_name):
829 """Returns the info extractor class with the given ie_name"""
830 return globals()[ie_name + 'IE']