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 .rtvnh import RTVNHIE
495 from .ruhd import RUHDIE
496 from .rutube import (
503 from .rutv import RUTVIE
504 from .ruutu import RuutuIE
505 from .sandia import SandiaIE
506 from .safari import (
510 from .sapo import SapoIE
511 from .savefrom import SaveFromIE
512 from .sbs import SBSIE
513 from .scivee import SciVeeIE
514 from .screencast import ScreencastIE
515 from .screencastomatic import ScreencastOMaticIE
516 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
517 from .senateisvp import SenateISVPIE
518 from .servingsys import ServingSysIE
519 from .sexu import SexuIE
520 from .sexykarma import SexyKarmaIE
521 from .shared import SharedIE
522 from .sharesix import ShareSixIE
523 from .sina import SinaIE
524 from .slideshare import SlideshareIE
525 from .slutload import SlutloadIE
526 from .smotri import (
532 from .snagfilms import (
536 from .snotr import SnotrIE
537 from .sohu import SohuIE
538 from .soompi import (
542 from .soundcloud import (
548 from .soundgasm import (
552 from .southpark import (
559 from .space import SpaceIE
560 from .spankbang import SpankBangIE
561 from .spankwire import SpankwireIE
562 from .spiegel import SpiegelIE, SpiegelArticleIE
563 from .spiegeltv import SpiegeltvIE
564 from .spike import SpikeIE
565 from .sport5 import Sport5IE
566 from .sportbox import (
570 from .sportdeutschland import SportDeutschlandIE
571 from .srf import SrfIE
572 from .srmediathek import SRMediathekIE
573 from .ssa import SSAIE
574 from .stanfordoc import StanfordOpenClassroomIE
575 from .steam import SteamIE
576 from .streamcloud import StreamcloudIE
577 from .streamcz import StreamCZIE
578 from .streetvoice import StreetVoiceIE
579 from .sunporno import SunPornoIE
584 from .swrmediathek import SWRMediathekIE
585 from .syfy import SyfyIE
586 from .sztvhu import SztvHuIE
587 from .tagesschau import TagesschauIE
588 from .tapely import TapelyIE
589 from .tass import TassIE
590 from .teachertube import (
594 from .teachingchannel import TeachingChannelIE
595 from .teamcoco import TeamcocoIE
596 from .techtalks import TechTalksIE
597 from .ted import TEDIE
598 from .telebruxelles import TeleBruxellesIE
599 from .telecinco import TelecincoIE
600 from .telegraaf import TelegraafIE
601 from .telemb import TeleMBIE
602 from .teletask import TeleTaskIE
603 from .tenplay import TenPlayIE
604 from .testurl import TestURLIE
605 from .testtube import TestTubeIE
606 from .tf1 import TF1IE
607 from .theonion import TheOnionIE
608 from .theplatform import ThePlatformIE
609 from .thesixtyone import TheSixtyOneIE
610 from .thisamericanlife import ThisAmericanLifeIE
611 from .thisav import ThisAVIE
612 from .tinypic import TinyPicIE
613 from .tlc import TlcIE, TlcDeIE
618 from .tnaflix import (
623 from .thvideo import (
627 from .toutv import TouTvIE
628 from .toypics import ToypicsUserIE, ToypicsIE
629 from .traileraddict import TrailerAddictIE
630 from .trilulilu import TriluliluIE
631 from .trutube import TruTubeIE
632 from .tube8 import Tube8IE
633 from .tubitv import TubiTvIE
634 from .tudou import TudouIE
635 from .tumblr import TumblrIE
636 from .tunein import TuneInIE
637 from .turbo import TurboIE
638 from .tutv import TutvIE
643 from .tv4 import TV4IE
648 from .tvigle import TvigleIE
649 from .tvp import TvpIE, TvpSeriesIE
650 from .tvplay import TVPlayIE
651 from .tweakers import TweakersIE
652 from .twentyfourvideo import TwentyFourVideoIE
653 from .twentytwotracks import (
655 TwentyTwoTracksGenreIE
657 from .twitch import (
662 TwitchPastBroadcastsIE,
666 from .twitter import TwitterCardIE
667 from .ubu import UbuIE
672 from .udn import UDNEmbedIE
673 from .ultimedia import UltimediaIE
674 from .unistra import UnistraIE
675 from .urort import UrortIE
676 from .ustream import UstreamIE, UstreamChannelIE
677 from .varzesh3 import Varzesh3IE
678 from .vbox7 import Vbox7IE
679 from .veehd import VeeHDIE
680 from .veoh import VeohIE
681 from .vessel import VesselIE
682 from .vesti import VestiIE
683 from .vevo import VevoIE
689 from .vh1 import VH1IE
690 from .vice import ViceIE
691 from .viddler import ViddlerIE
692 from .videobam import VideoBamIE
693 from .videodetective import VideoDetectiveIE
694 from .videolecturesnet import VideoLecturesNetIE
695 from .videofyme import VideofyMeIE
696 from .videomega import VideoMegaIE
697 from .videopremium import VideoPremiumIE
698 from .videott import VideoTtIE
699 from .videoweed import VideoWeedIE
700 from .vidme import VidmeIE
701 from .vidzi import VidziIE
702 from .vier import VierIE, VierVideosIE
703 from .viewster import ViewsterIE
714 from .vimple import VimpleIE
727 from .vodlocker import VodlockerIE
728 from .voicerepublic import VoiceRepublicIE
729 from .vporn import VpornIE
730 from .vrt import VRTIE
731 from .vube import VubeIE
732 from .vuclip import VuClipIE
733 from .vulture import VultureIE
734 from .walla import WallaIE
735 from .washingtonpost import WashingtonPostIE
736 from .wat import WatIE
737 from .wayofthemaster import WayOfTheMasterIE
743 from .webofstories import (
745 WebOfStoriesPlaylistIE,
747 from .weibo import WeiboIE
748 from .wimp import WimpIE
749 from .wistia import WistiaIE
750 from .worldstarhiphop import WorldStarHipHopIE
751 from .wrzuta import WrzutaIE
752 from .wsj import WSJIE
753 from .xbef import XBefIE
754 from .xboxclips import XboxClipsIE
755 from .xhamster import (
759 from .xminus import XMinusIE
760 from .xnxx import XNXXIE
761 from .xstream import XstreamIE
762 from .xtube import XTubeUserIE, XTubeIE
763 from .xuite import XuiteIE
764 from .xvideos import XVideosIE
765 from .xxxymovies import XXXYMoviesIE
770 from .yam import YamIE
771 from .yandexmusic import (
774 YandexMusicPlaylistIE,
776 from .yesjapan import YesJapanIE
777 from .yinyuetai import YinYueTaiIE
778 from .ynet import YnetIE
779 from .youjizz import YouJizzIE
780 from .youku import YoukuIE
781 from .youporn import YouPornIE
782 from .yourupload import YourUploadIE
783 from .youtube import (
789 YoutubeRecommendedIE,
794 YoutubeSubscriptionsIE,
795 YoutubeTruncatedIDIE,
796 YoutubeTruncatedURLIE,
800 from .zapiks import ZapiksIE
801 from .zdf import ZDFIE, ZDFChannelIE
802 from .zingmp3 import (
809 for name, klass in globals().items()
810 if name.endswith('IE') and name != 'GenericIE'
812 _ALL_CLASSES.append(GenericIE)
815 def gen_extractors():
816 """ Return a list of an instance of every supported extractor.
817 The order does matter; the first extractor matched is the one handling the URL.
819 return [klass() for klass in _ALL_CLASSES]
822 def list_extractors(age_limit):
824 Return a list of extractors that are suitable for the given age,
825 sorted by extractor ID.
829 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
830 key=lambda ie: ie.IE_NAME.lower())
833 def get_info_extractor(ie_name):
834 """Returns the info extractor class with the given ie_name"""
835 return globals()[ie_name + 'IE']