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 .indavideo import IndavideoIE
246 from .infoq import InfoQIE
247 from .instagram import InstagramIE, InstagramUserIE
248 from .internetvideoarchive import InternetVideoArchiveIE
249 from .iprima import IPrimaIE
250 from .iqiyi import IqiyiIE
251 from .ir90tv import Ir90TvIE
256 from .izlesene import IzleseneIE
257 from .jadorecettepub import JadoreCettePubIE
258 from .jeuxvideo import JeuxVideoIE
259 from .jove import JoveIE
260 from .jukebox import JukeboxIE
261 from .jpopsukitv import JpopsukiIE
262 from .kaltura import KalturaIE
263 from .kanalplay import KanalPlayIE
264 from .kankan import KankanIE
265 from .karaoketv import KaraoketvIE
266 from .karrierevideos import KarriereVideosIE
267 from .keezmovies import KeezMoviesIE
268 from .khanacademy import KhanAcademyIE
269 from .kickstarter import KickStarterIE
270 from .keek import KeekIE
271 from .kontrtube import KontrTubeIE
272 from .krasview import KrasViewIE
273 from .ku6 import Ku6IE
282 from .la7 import LA7IE
283 from .laola1tv import Laola1TvIE
284 from .lecture2go import Lecture2GoIE
290 from .libsyn import LibsynIE
291 from .lifenews import (
295 from .liveleak import LiveLeakIE
296 from .livestream import (
298 LivestreamOriginalIE,
299 LivestreamShortenerIE,
301 from .lnkgo import LnkGoIE
302 from .lrt import LRTIE
308 from .macgamestore import MacGameStoreIE
309 from .mailru import MailRuIE
310 from .malemotion import MalemotionIE
311 from .mdr import MDRIE
312 from .megavideoz import MegaVideozIE
313 from .metacafe import MetacafeIE
314 from .metacritic import MetacriticIE
315 from .mgoon import MgoonIE
316 from .minhateca import MinhatecaIE
317 from .ministrygrid import MinistryGridIE
318 from .miomio import MioMioIE
319 from .mit import TechTVMITIE, MITIE, OCWMITIE
320 from .mitele import MiTeleIE
321 from .mixcloud import MixcloudIE
322 from .mlb import MLBIE
323 from .mpora import MporaIE
324 from .moevideo import MoeVideoIE
325 from .mofosex import MofosexIE
326 from .mojvideo import MojvideoIE
327 from .moniker import MonikerIE
328 from .mooshare import MooshareIE
329 from .morningstar import MorningstarIE
330 from .motherless import MotherlessIE
331 from .motorsport import MotorsportIE
332 from .movieclips import MovieClipsIE
333 from .moviezine import MoviezineIE
334 from .movshare import MovShareIE
337 MTVServicesEmbeddedIE,
340 from .muenchentv import MuenchenTVIE
341 from .musicplayon import MusicPlayOnIE
342 from .musicvault import MusicVaultIE
343 from .muzu import MuzuTVIE
344 from .myspace import MySpaceIE, MySpaceAlbumIE
345 from .myspass import MySpassIE
346 from .myvi import MyviIE
347 from .myvideo import MyVideoIE
348 from .myvidster import MyVidsterIE
349 from .nationalgeographic import NationalGeographicIE
350 from .naver import NaverIE
351 from .nba import NBAIE
362 from .ndtv import NDTVIE
363 from .netzkino import NetzkinoIE
364 from .nerdcubed import NerdCubedFeedIE
365 from .nerdist import NerdistIE
366 from .neteasemusic import (
369 NetEaseMusicSingerIE,
372 NetEaseMusicProgramIE,
373 NetEaseMusicDjRadioIE,
375 from .newgrounds import NewgroundsIE
376 from .newstube import NewstubeIE
377 from .nextmedia import (
379 NextMediaActionNewsIE,
382 from .nfb import NFBIE
383 from .nfl import NFLIE
389 from .niconico import NiconicoIE, NiconicoPlaylistIE
390 from .ninegag import NineGagIE
391 from .noco import NocoIE
392 from .normalboots import NormalbootsIE
393 from .nosvideo import NosVideoIE
394 from .nova import NovaIE
395 from .novamov import NovaMovIE
396 from .nowness import NownessIE
397 from .nowtv import NowTVIE
398 from .nowvideo import NowVideoIE
412 from .ntvde import NTVDeIE
413 from .ntvru import NTVRuIE
414 from .nytimes import (
418 from .nuvid import NuvidIE
419 from .odnoklassniki import OdnoklassnikiIE
420 from .oktoberfesttv import OktoberfestTVIE
421 from .onionstudios import OnionStudiosIE
422 from .ooyala import (
426 from .openfilm import OpenFilmIE
433 from .parliamentliveuk import ParliamentLiveUKIE
434 from .patreon import PatreonIE
435 from .pbs import PBSIE
436 from .periscope import (
440 from .philharmoniedeparis import PhilharmonieDeParisIE
441 from .phoenix import PhoenixIE
442 from .photobucket import PhotobucketIE
443 from .pinkbike import PinkbikeIE
444 from .planetaplay import PlanetaPlayIE
445 from .pladform import PladformIE
446 from .played import PlayedIE
447 from .playfm import PlayFMIE
448 from .playvid import PlayvidIE
449 from .playwire import PlaywireIE
450 from .podomatic import PodomaticIE
451 from .porn91 import Porn91IE
452 from .pornhd import PornHdIE
453 from .pornhub import (
457 from .pornotube import PornotubeIE
458 from .pornovoisines import PornoVoisinesIE
459 from .pornoxo import PornoXOIE
460 from .primesharetv import PrimeShareTVIE
461 from .promptfile import PromptFileIE
462 from .prosiebensat1 import ProSiebenSat1IE
463 from .puls4 import Puls4IE
464 from .pyvideo import PyvideoIE
465 from .qqmusic import (
472 from .quickvid import QuickVidIE
474 from .radiode import RadioDeIE
475 from .radiojavan import RadioJavanIE
476 from .radiobremen import RadioBremenIE
477 from .radiofrance import RadioFranceIE
478 from .rai import RaiIE
479 from .rbmaradio import RBMARadioIE
480 from .rds import RDSIE
481 from .redtube import RedTubeIE
482 from .restudy import RestudyIE
483 from .reverbnation import ReverbNationIE
484 from .ringtv import RingTVIE
485 from .ro220 import Ro220IE
486 from .rottentomatoes import RottenTomatoesIE
487 from .roxwel import RoxwelIE
488 from .rtbf import RTBFIE
489 from .rte import RteIE
490 from .rtlnl import RtlNlIE
491 from .rtl2 import RTL2IE
492 from .rtp import RTPIE
493 from .rts import RTSIE
494 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
495 from .rtvnh import RTVNHIE
496 from .ruhd import RUHDIE
497 from .rutube import (
504 from .rutv import RUTVIE
505 from .ruutu import RuutuIE
506 from .sandia import SandiaIE
507 from .safari import (
511 from .sapo import SapoIE
512 from .savefrom import SaveFromIE
513 from .sbs import SBSIE
514 from .scivee import SciVeeIE
515 from .screencast import ScreencastIE
516 from .screencastomatic import ScreencastOMaticIE
517 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
518 from .senateisvp import SenateISVPIE
519 from .servingsys import ServingSysIE
520 from .sexu import SexuIE
521 from .sexykarma import SexyKarmaIE
522 from .shared import SharedIE
523 from .sharesix import ShareSixIE
524 from .sina import SinaIE
525 from .slideshare import SlideshareIE
526 from .slutload import SlutloadIE
527 from .smotri import (
533 from .snagfilms import (
537 from .snotr import SnotrIE
538 from .sohu import SohuIE
539 from .soompi import (
543 from .soundcloud import (
549 from .soundgasm import (
553 from .southpark import (
560 from .space import SpaceIE
561 from .spankbang import SpankBangIE
562 from .spankwire import SpankwireIE
563 from .spiegel import SpiegelIE, SpiegelArticleIE
564 from .spiegeltv import SpiegeltvIE
565 from .spike import SpikeIE
566 from .sport5 import Sport5IE
567 from .sportbox import (
571 from .sportdeutschland import SportDeutschlandIE
572 from .srf import SrfIE
573 from .srmediathek import SRMediathekIE
574 from .ssa import SSAIE
575 from .stanfordoc import StanfordOpenClassroomIE
576 from .steam import SteamIE
577 from .streamcloud import StreamcloudIE
578 from .streamcz import StreamCZIE
579 from .streetvoice import StreetVoiceIE
580 from .sunporno import SunPornoIE
585 from .swrmediathek import SWRMediathekIE
586 from .syfy import SyfyIE
587 from .sztvhu import SztvHuIE
588 from .tagesschau import TagesschauIE
589 from .tapely import TapelyIE
590 from .tass import TassIE
591 from .teachertube import (
595 from .teachingchannel import TeachingChannelIE
596 from .teamcoco import TeamcocoIE
597 from .techtalks import TechTalksIE
598 from .ted import TEDIE
599 from .telebruxelles import TeleBruxellesIE
600 from .telecinco import TelecincoIE
601 from .telegraaf import TelegraafIE
602 from .telemb import TeleMBIE
603 from .teletask import TeleTaskIE
604 from .tenplay import TenPlayIE
605 from .testurl import TestURLIE
606 from .testtube import TestTubeIE
607 from .tf1 import TF1IE
608 from .theonion import TheOnionIE
609 from .theplatform import ThePlatformIE
610 from .thesixtyone import TheSixtyOneIE
611 from .thisamericanlife import ThisAmericanLifeIE
612 from .thisav import ThisAVIE
613 from .tinypic import TinyPicIE
614 from .tlc import TlcIE, TlcDeIE
619 from .tnaflix import (
624 from .thvideo import (
628 from .toutv import TouTvIE
629 from .toypics import ToypicsUserIE, ToypicsIE
630 from .traileraddict import TrailerAddictIE
631 from .trilulilu import TriluliluIE
632 from .trutube import TruTubeIE
633 from .tube8 import Tube8IE
634 from .tubitv import TubiTvIE
635 from .tudou import TudouIE
636 from .tumblr import TumblrIE
637 from .tunein import TuneInIE
638 from .turbo import TurboIE
639 from .tutv import TutvIE
644 from .tv4 import TV4IE
649 from .tvigle import TvigleIE
650 from .tvp import TvpIE, TvpSeriesIE
651 from .tvplay import TVPlayIE
652 from .tweakers import TweakersIE
653 from .twentyfourvideo import TwentyFourVideoIE
654 from .twentytwotracks import (
656 TwentyTwoTracksGenreIE
658 from .twitch import (
663 TwitchPastBroadcastsIE,
667 from .twitter import TwitterCardIE
668 from .ubu import UbuIE
673 from .udn import UDNEmbedIE
674 from .ultimedia import UltimediaIE
675 from .unistra import UnistraIE
676 from .urort import UrortIE
677 from .ustream import UstreamIE, UstreamChannelIE
678 from .varzesh3 import Varzesh3IE
679 from .vbox7 import Vbox7IE
680 from .veehd import VeeHDIE
681 from .veoh import VeohIE
682 from .vessel import VesselIE
683 from .vesti import VestiIE
684 from .vevo import VevoIE
690 from .vh1 import VH1IE
691 from .vice import ViceIE
692 from .viddler import ViddlerIE
693 from .videobam import VideoBamIE
694 from .videodetective import VideoDetectiveIE
695 from .videolecturesnet import VideoLecturesNetIE
696 from .videofyme import VideofyMeIE
697 from .videomega import VideoMegaIE
698 from .videopremium import VideoPremiumIE
699 from .videott import VideoTtIE
700 from .videoweed import VideoWeedIE
701 from .vidme import VidmeIE
702 from .vidzi import VidziIE
703 from .vier import VierIE, VierVideosIE
704 from .viewster import ViewsterIE
715 from .vimple import VimpleIE
728 from .vodlocker import VodlockerIE
729 from .voicerepublic import VoiceRepublicIE
730 from .vporn import VpornIE
731 from .vrt import VRTIE
732 from .vube import VubeIE
733 from .vuclip import VuClipIE
734 from .vulture import VultureIE
735 from .walla import WallaIE
736 from .washingtonpost import WashingtonPostIE
737 from .wat import WatIE
738 from .wayofthemaster import WayOfTheMasterIE
744 from .webofstories import (
746 WebOfStoriesPlaylistIE,
748 from .weibo import WeiboIE
749 from .wimp import WimpIE
750 from .wistia import WistiaIE
751 from .worldstarhiphop import WorldStarHipHopIE
752 from .wrzuta import WrzutaIE
753 from .wsj import WSJIE
754 from .xbef import XBefIE
755 from .xboxclips import XboxClipsIE
756 from .xhamster import (
760 from .xminus import XMinusIE
761 from .xnxx import XNXXIE
762 from .xstream import XstreamIE
763 from .xtube import XTubeUserIE, XTubeIE
764 from .xuite import XuiteIE
765 from .xvideos import XVideosIE
766 from .xxxymovies import XXXYMoviesIE
771 from .yam import YamIE
772 from .yandexmusic import (
775 YandexMusicPlaylistIE,
777 from .yesjapan import YesJapanIE
778 from .yinyuetai import YinYueTaiIE
779 from .ynet import YnetIE
780 from .youjizz import YouJizzIE
781 from .youku import YoukuIE
782 from .youporn import YouPornIE
783 from .yourupload import YourUploadIE
784 from .youtube import (
790 YoutubeRecommendedIE,
795 YoutubeSubscriptionsIE,
796 YoutubeTruncatedIDIE,
797 YoutubeTruncatedURLIE,
801 from .zapiks import ZapiksIE
802 from .zdf import ZDFIE, ZDFChannelIE
803 from .zingmp3 import (
810 for name, klass in globals().items()
811 if name.endswith('IE') and name != 'GenericIE'
813 _ALL_CLASSES.append(GenericIE)
816 def gen_extractors():
817 """ Return a list of an instance of every supported extractor.
818 The order does matter; the first extractor matched is the one handling the URL.
820 return [klass() for klass in _ALL_CLASSES]
823 def list_extractors(age_limit):
825 Return a list of extractors that are suitable for the given age,
826 sorted by extractor ID.
830 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
831 key=lambda ie: ie.IE_NAME.lower())
834 def get_info_extractor(ie_name):
835 """Returns the info extractor class with the given ie_name"""
836 return globals()[ie_name + 'IE']