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
46 from .bbccouk import BBCCoUkIE
47 from .beeg import BeegIE
48 from .behindkink import BehindKinkIE
49 from .beatportpro import BeatportProIE
50 from .bet import BetIE
51 from .bild import BildIE
52 from .bilibili import BiliBiliIE
53 from .blinkx import BlinkxIE
54 from .bliptv import BlipTVIE, BlipTVUserIE
55 from .bloomberg import BloombergIE
56 from .bpb import BpbIE
58 from .breakcom import BreakIE
59 from .brightcove import BrightcoveIE
60 from .buzzfeed import BuzzFeedIE
61 from .byutv import BYUtvIE
62 from .c56 import C56IE
63 from .camdemy import (
67 from .canal13cl import Canal13clIE
68 from .canalplus import CanalplusIE
69 from .canalc2 import Canalc2IE
70 from .cbs import CBSIE
71 from .cbsnews import CBSNewsIE
72 from .cbssports import CBSSportsIE
73 from .ccc import CCCIE
74 from .ceskatelevize import CeskaTelevizeIE
75 from .channel9 import Channel9IE
76 from .chilloutzone import ChilloutzoneIE
77 from .chirbit import (
81 from .cinchcast import CinchcastIE
82 from .cinemassacre import CinemassacreIE
83 from .clipfish import ClipfishIE
84 from .cliphunter import CliphunterIE
85 from .clipsyndicate import ClipsyndicateIE
86 from .cloudy import CloudyIE
87 from .clubic import ClubicIE
88 from .cmt import CMTIE
89 from .cnet import CNETIE
95 from .collegehumor import CollegeHumorIE
96 from .collegerama import CollegeRamaIE
97 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
98 from .comcarcoff import ComCarCoffIE
99 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
100 from .condenast import CondeNastIE
101 from .cracked import CrackedIE
102 from .criterion import CriterionIE
103 from .crooksandliars import CrooksAndLiarsIE
104 from .crunchyroll import (
106 CrunchyrollShowPlaylistIE
108 from .cspan import CSpanIE
109 from .ctsnews import CtsNewsIE
110 from .dailymotion import (
112 DailymotionPlaylistIE,
116 from .daum import DaumIE
117 from .dbtv import DBTVIE
118 from .dctp import DctpTvIE
119 from .deezer import DeezerPlaylistIE
120 from .dfb import DFBIE
121 from .dhm import DHMIE
122 from .dotsub import DotsubIE
123 from .douyutv import DouyuTVIE
124 from .dramafever import (
128 from .dreisat import DreiSatIE
129 from .drbonanza import DRBonanzaIE
130 from .drtuber import DrTuberIE
131 from .drtv import DRTVIE
132 from .dvtv import DVTVIE
133 from .dump import DumpIE
134 from .dumpert import DumpertIE
135 from .defense import DefenseGouvFrIE
136 from .discovery import DiscoveryIE
137 from .divxstage import DivxStageIE
138 from .dropbox import DropboxIE
139 from .eagleplatform import EaglePlatformIE
140 from .ebaumsworld import EbaumsWorldIE
141 from .echomsk import EchoMskIE
142 from .ehow import EHowIE
143 from .eighttracks import EightTracksIE
144 from .einthusan import EinthusanIE
145 from .eitb import EitbIE
146 from .ellentv import (
150 from .elpais import ElPaisIE
151 from .embedly import EmbedlyIE
152 from .engadget import EngadgetIE
153 from .eporner import EpornerIE
154 from .eroprofile import EroProfileIE
155 from .escapist import EscapistIE
156 from .espn import ESPNIE
157 from .everyonesmixtape import EveryonesMixtapeIE
158 from .exfm import ExfmIE
159 from .expotv import ExpoTVIE
160 from .extremetube import ExtremeTubeIE
161 from .facebook import FacebookIE
162 from .faz import FazIE
163 from .fc2 import FC2IE
164 from .firstpost import FirstpostIE
165 from .firsttv import FirstTVIE
166 from .fivemin import FiveMinIE
167 from .fivetv import FiveTVIE
172 from .flickr import FlickrIE
173 from .folketinget import FolketingetIE
174 from .footyroom import FootyRoomIE
175 from .fourtube import FourTubeIE
176 from .foxgay import FoxgayIE
177 from .foxnews import FoxNewsIE
178 from .foxsports import FoxSportsIE
179 from .franceculture import FranceCultureIE
180 from .franceinter import FranceInterIE
181 from .francetv import (
188 from .freesound import FreesoundIE
189 from .freespeech import FreespeechIE
190 from .freevideo import FreeVideoIE
191 from .funnyordie import FunnyOrDieIE
192 from .gamekings import GamekingsIE
193 from .gameone import (
197 from .gamersyde import GamersydeIE
198 from .gamespot import GameSpotIE
199 from .gamestar import GameStarIE
200 from .gametrailers import GametrailersIE
201 from .gazeta import GazetaIE
202 from .gdcvault import GDCVaultIE
203 from .generic import GenericIE
204 from .gfycat import GfycatIE
205 from .giantbomb import GiantBombIE
206 from .giga import GigaIE
207 from .glide import GlideIE
208 from .globo import GloboIE
209 from .godtube import GodTubeIE
210 from .goldenmoustache import GoldenMoustacheIE
211 from .golem import GolemIE
212 from .googleplus import GooglePlusIE
213 from .googlesearch import GoogleSearchIE
214 from .gorillavid import GorillaVidIE
215 from .goshgay import GoshgayIE
216 from .groupon import GrouponIE
217 from .hark import HarkIE
218 from .hearthisat import HearThisAtIE
219 from .heise import HeiseIE
220 from .hellporno import HellPornoIE
221 from .helsinki import HelsinkiIE
222 from .hentaistigma import HentaiStigmaIE
223 from .historicfilms import HistoricFilmsIE
224 from .history import HistoryIE
225 from .hitbox import HitboxIE, HitboxLiveIE
226 from .hornbunny import HornBunnyIE
227 from .hostingbulk import HostingBulkIE
228 from .hotnewhiphop import HotNewHipHopIE
229 from .howcast import HowcastIE
230 from .howstuffworks import HowStuffWorksIE
231 from .huffpost import HuffPostIE
232 from .hypem import HypemIE
233 from .iconosquare import IconosquareIE
234 from .ign import IGNIE, OneUPIE
239 from .imgur import ImgurIE
240 from .ina import InaIE
241 from .infoq import InfoQIE
242 from .instagram import InstagramIE, InstagramUserIE
243 from .internetvideoarchive import InternetVideoArchiveIE
244 from .iprima import IPrimaIE
245 from .iqiyi import IqiyiIE
246 from .ir90tv import Ir90TvIE
251 from .izlesene import IzleseneIE
252 from .jadorecettepub import JadoreCettePubIE
253 from .jeuxvideo import JeuxVideoIE
254 from .jove import JoveIE
255 from .jukebox import JukeboxIE
256 from .jpopsukitv import JpopsukiIE
257 from .kaltura import KalturaIE
258 from .kanalplay import KanalPlayIE
259 from .kankan import KankanIE
260 from .karaoketv import KaraoketvIE
261 from .karrierevideos import KarriereVideosIE
262 from .keezmovies import KeezMoviesIE
263 from .khanacademy import KhanAcademyIE
264 from .kickstarter import KickStarterIE
265 from .keek import KeekIE
266 from .kontrtube import KontrTubeIE
267 from .krasview import KrasViewIE
268 from .ku6 import Ku6IE
277 from .la7 import LA7IE
278 from .laola1tv import Laola1TvIE
279 from .lecture2go import Lecture2GoIE
285 from .libsyn import LibsynIE
286 from .lifenews import (
290 from .liveleak import LiveLeakIE
291 from .livestream import (
293 LivestreamOriginalIE,
294 LivestreamShortenerIE,
296 from .lnkgo import LnkGoIE
297 from .lrt import LRTIE
303 from .macgamestore import MacGameStoreIE
304 from .mailru import MailRuIE
305 from .malemotion import MalemotionIE
306 from .mdr import MDRIE
307 from .megavideoz import MegaVideozIE
308 from .metacafe import MetacafeIE
309 from .metacritic import MetacriticIE
310 from .mgoon import MgoonIE
311 from .minhateca import MinhatecaIE
312 from .ministrygrid import MinistryGridIE
313 from .miomio import MioMioIE
314 from .mit import TechTVMITIE, MITIE, OCWMITIE
315 from .mitele import MiTeleIE
316 from .mixcloud import MixcloudIE
317 from .mlb import MLBIE
318 from .mpora import MporaIE
319 from .moevideo import MoeVideoIE
320 from .mofosex import MofosexIE
321 from .mojvideo import MojvideoIE
322 from .moniker import MonikerIE
323 from .mooshare import MooshareIE
324 from .morningstar import MorningstarIE
325 from .motherless import MotherlessIE
326 from .motorsport import MotorsportIE
327 from .movieclips import MovieClipsIE
328 from .moviezine import MoviezineIE
329 from .movshare import MovShareIE
332 MTVServicesEmbeddedIE,
335 from .muenchentv import MuenchenTVIE
336 from .musicplayon import MusicPlayOnIE
337 from .musicvault import MusicVaultIE
338 from .muzu import MuzuTVIE
339 from .myspace import MySpaceIE, MySpaceAlbumIE
340 from .myspass import MySpassIE
341 from .myvi import MyviIE
342 from .myvideo import MyVideoIE
343 from .myvidster import MyVidsterIE
344 from .nationalgeographic import NationalGeographicIE
345 from .naver import NaverIE
346 from .nba import NBAIE
357 from .ndtv import NDTVIE
358 from .netzkino import NetzkinoIE
359 from .nerdcubed import NerdCubedFeedIE
360 from .nerdist import NerdistIE
361 from .neteasemusic import (
364 NetEaseMusicSingerIE,
367 NetEaseMusicProgramIE,
368 NetEaseMusicDjRadioIE,
370 from .newgrounds import NewgroundsIE
371 from .newstube import NewstubeIE
372 from .nextmedia import (
374 NextMediaActionNewsIE,
377 from .nfb import NFBIE
378 from .nfl import NFLIE
384 from .niconico import NiconicoIE, NiconicoPlaylistIE
385 from .ninegag import NineGagIE
386 from .noco import NocoIE
387 from .normalboots import NormalbootsIE
388 from .nosvideo import NosVideoIE
389 from .nova import NovaIE
390 from .novamov import NovaMovIE
391 from .nowness import NownessIE
392 from .nowtv import NowTVIE
393 from .nowvideo import NowVideoIE
407 from .ntvde import NTVDeIE
408 from .ntvru import NTVRuIE
409 from .nytimes import (
413 from .nuvid import NuvidIE
414 from .odnoklassniki import OdnoklassnikiIE
415 from .oktoberfesttv import OktoberfestTVIE
416 from .onionstudios import OnionStudiosIE
417 from .ooyala import (
421 from .openfilm import OpenFilmIE
428 from .parliamentliveuk import ParliamentLiveUKIE
429 from .patreon import PatreonIE
430 from .pbs import PBSIE
431 from .philharmoniedeparis import PhilharmonieDeParisIE
432 from .phoenix import PhoenixIE
433 from .photobucket import PhotobucketIE
434 from .pinkbike import PinkbikeIE
435 from .planetaplay import PlanetaPlayIE
436 from .pladform import PladformIE
437 from .played import PlayedIE
438 from .playfm import PlayFMIE
439 from .playvid import PlayvidIE
440 from .playwire import PlaywireIE
441 from .podomatic import PodomaticIE
442 from .porn91 import Porn91IE
443 from .pornhd import PornHdIE
444 from .pornhub import (
448 from .pornotube import PornotubeIE
449 from .pornovoisines import PornoVoisinesIE
450 from .pornoxo import PornoXOIE
451 from .primesharetv import PrimeShareTVIE
452 from .promptfile import PromptFileIE
453 from .prosiebensat1 import ProSiebenSat1IE
454 from .puls4 import Puls4IE
455 from .pyvideo import PyvideoIE
456 from .qqmusic import (
463 from .quickvid import QuickVidIE
465 from .radiode import RadioDeIE
466 from .radiojavan import RadioJavanIE
467 from .radiobremen import RadioBremenIE
468 from .radiofrance import RadioFranceIE
469 from .rai import RaiIE
470 from .rbmaradio import RBMARadioIE
471 from .rds import RDSIE
472 from .redtube import RedTubeIE
473 from .restudy import RestudyIE
474 from .reverbnation import ReverbNationIE
475 from .ringtv import RingTVIE
476 from .ro220 import Ro220IE
477 from .rottentomatoes import RottenTomatoesIE
478 from .roxwel import RoxwelIE
479 from .rtbf import RTBFIE
480 from .rte import RteIE
481 from .rtlnl import RtlNlIE
482 from .rtl2 import RTL2IE
483 from .rtp import RTPIE
484 from .rts import RTSIE
485 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
486 from .ruhd import RUHDIE
487 from .rutube import (
494 from .rutv import RUTVIE
495 from .ruutu import RuutuIE
496 from .sandia import SandiaIE
497 from .safari import (
501 from .sapo import SapoIE
502 from .savefrom import SaveFromIE
503 from .sbs import SBSIE
504 from .scivee import SciVeeIE
505 from .screencast import ScreencastIE
506 from .screencastomatic import ScreencastOMaticIE
507 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
508 from .senateisvp import SenateISVPIE
509 from .servingsys import ServingSysIE
510 from .sexu import SexuIE
511 from .sexykarma import SexyKarmaIE
512 from .shared import SharedIE
513 from .sharesix import ShareSixIE
514 from .sina import SinaIE
515 from .slideshare import SlideshareIE
516 from .slutload import SlutloadIE
517 from .smotri import (
523 from .snagfilms import (
527 from .snotr import SnotrIE
528 from .sohu import SohuIE
529 from .soompi import (
533 from .soundcloud import (
539 from .soundgasm import (
543 from .southpark import (
550 from .space import SpaceIE
551 from .spankbang import SpankBangIE
552 from .spankwire import SpankwireIE
553 from .spiegel import SpiegelIE, SpiegelArticleIE
554 from .spiegeltv import SpiegeltvIE
555 from .spike import SpikeIE
556 from .sport5 import Sport5IE
557 from .sportbox import (
561 from .sportdeutschland import SportDeutschlandIE
562 from .srf import SrfIE
563 from .srmediathek import SRMediathekIE
564 from .ssa import SSAIE
565 from .stanfordoc import StanfordOpenClassroomIE
566 from .steam import SteamIE
567 from .streamcloud import StreamcloudIE
568 from .streamcz import StreamCZIE
569 from .streetvoice import StreetVoiceIE
570 from .sunporno import SunPornoIE
575 from .swrmediathek import SWRMediathekIE
576 from .syfy import SyfyIE
577 from .sztvhu import SztvHuIE
578 from .tagesschau import TagesschauIE
579 from .tapely import TapelyIE
580 from .tass import TassIE
581 from .teachertube import (
585 from .teachingchannel import TeachingChannelIE
586 from .teamcoco import TeamcocoIE
587 from .techtalks import TechTalksIE
588 from .ted import TEDIE
589 from .telebruxelles import TeleBruxellesIE
590 from .telecinco import TelecincoIE
591 from .telemb import TeleMBIE
592 from .teletask import TeleTaskIE
593 from .tenplay import TenPlayIE
594 from .testurl import TestURLIE
595 from .testtube import TestTubeIE
596 from .tf1 import TF1IE
597 from .theonion import TheOnionIE
598 from .theplatform import ThePlatformIE
599 from .thesixtyone import TheSixtyOneIE
600 from .thisamericanlife import ThisAmericanLifeIE
601 from .thisav import ThisAVIE
602 from .tinypic import TinyPicIE
603 from .tlc import TlcIE, TlcDeIE
608 from .tnaflix import (
613 from .thvideo import (
617 from .toutv import TouTvIE
618 from .toypics import ToypicsUserIE, ToypicsIE
619 from .traileraddict import TrailerAddictIE
620 from .trilulilu import TriluliluIE
621 from .trutube import TruTubeIE
622 from .tube8 import Tube8IE
623 from .tubitv import TubiTvIE
624 from .tudou import TudouIE
625 from .tumblr import TumblrIE
626 from .tunein import TuneInIE
627 from .turbo import TurboIE
628 from .tutv import TutvIE
633 from .tv4 import TV4IE
638 from .tvigle import TvigleIE
639 from .tvp import TvpIE, TvpSeriesIE
640 from .tvplay import TVPlayIE
641 from .tweakers import TweakersIE
642 from .twentyfourvideo import TwentyFourVideoIE
643 from .twentytwotracks import (
645 TwentyTwoTracksGenreIE
647 from .twitch import (
652 TwitchPastBroadcastsIE,
656 from .twitter import TwitterCardIE
657 from .ubu import UbuIE
662 from .udn import UDNEmbedIE
663 from .ultimedia import UltimediaIE
664 from .unistra import UnistraIE
665 from .urort import UrortIE
666 from .ustream import UstreamIE, UstreamChannelIE
667 from .varzesh3 import Varzesh3IE
668 from .vbox7 import Vbox7IE
669 from .veehd import VeeHDIE
670 from .veoh import VeohIE
671 from .vessel import VesselIE
672 from .vesti import VestiIE
673 from .vevo import VevoIE
679 from .vh1 import VH1IE
680 from .vice import ViceIE
681 from .viddler import ViddlerIE
682 from .videobam import VideoBamIE
683 from .videodetective import VideoDetectiveIE
684 from .videolecturesnet import VideoLecturesNetIE
685 from .videofyme import VideofyMeIE
686 from .videomega import VideoMegaIE
687 from .videopremium import VideoPremiumIE
688 from .videott import VideoTtIE
689 from .videoweed import VideoWeedIE
690 from .vidme import VidmeIE
691 from .vidzi import VidziIE
692 from .vier import VierIE, VierVideosIE
693 from .viewster import ViewsterIE
704 from .vimple import VimpleIE
717 from .vodlocker import VodlockerIE
718 from .voicerepublic import VoiceRepublicIE
719 from .vporn import VpornIE
720 from .vrt import VRTIE
721 from .vube import VubeIE
722 from .vuclip import VuClipIE
723 from .vulture import VultureIE
724 from .walla import WallaIE
725 from .washingtonpost import WashingtonPostIE
726 from .wat import WatIE
727 from .wayofthemaster import WayOfTheMasterIE
733 from .webofstories import (
735 WebOfStoriesPlaylistIE,
737 from .weibo import WeiboIE
738 from .wimp import WimpIE
739 from .wistia import WistiaIE
740 from .worldstarhiphop import WorldStarHipHopIE
741 from .wrzuta import WrzutaIE
742 from .wsj import WSJIE
743 from .xbef import XBefIE
744 from .xboxclips import XboxClipsIE
745 from .xhamster import (
749 from .xminus import XMinusIE
750 from .xnxx import XNXXIE
751 from .xstream import XstreamIE
752 from .xtube import XTubeUserIE, XTubeIE
753 from .xuite import XuiteIE
754 from .xvideos import XVideosIE
755 from .xxxymovies import XXXYMoviesIE
760 from .yam import YamIE
761 from .yandexmusic import (
764 YandexMusicPlaylistIE,
766 from .yesjapan import YesJapanIE
767 from .yinyuetai import YinYueTaiIE
768 from .ynet import YnetIE
769 from .youjizz import YouJizzIE
770 from .youku import YoukuIE
771 from .youporn import YouPornIE
772 from .yourupload import YourUploadIE
773 from .youtube import (
779 YoutubeRecommendedIE,
784 YoutubeSubscriptionsIE,
785 YoutubeTruncatedIDIE,
786 YoutubeTruncatedURLIE,
790 from .zapiks import ZapiksIE
791 from .zdf import ZDFIE, ZDFChannelIE
792 from .zingmp3 import (
799 for name, klass in globals().items()
800 if name.endswith('IE') and name != 'GenericIE'
802 _ALL_CLASSES.append(GenericIE)
805 def gen_extractors():
806 """ Return a list of an instance of every supported extractor.
807 The order does matter; the first extractor matched is the one handling the URL.
809 return [klass() for klass in _ALL_CLASSES]
812 def list_extractors(age_limit):
814 Return a list of extractors that are suitable for the given age,
815 sorted by extractor ID.
819 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
820 key=lambda ie: ie.IE_NAME.lower())
823 def get_info_extractor(ie_name):
824 """Returns the info extractor class with the given ie_name"""
825 return globals()[ie_name + 'IE']