1 from __future__ import unicode_literals
4 from .abc7news import Abc7NewsIE
5 from .academicearth import AcademicEarthCourseIE
6 from .addanime import AddAnimeIE
7 from .adobetv import AdobeTVIE
8 from .adultswim import AdultSwimIE
9 from .aftenposten import AftenpostenIE
10 from .aftonbladet import AftonbladetIE
11 from .airmozilla import AirMozillaIE
12 from .aljazeera import AlJazeeraIE
13 from .alphaporno import AlphaPornoIE
14 from .anitube import AnitubeIE
15 from .anysex import AnySexIE
16 from .aol import AolIE
17 from .allocine import AllocineIE
18 from .aparat import AparatIE
19 from .appletrailers import AppleTrailersIE
20 from .archiveorg import ArchiveOrgIE
21 from .ard import ARDIE, ARDMediathekIE
31 from .atresplayer import AtresPlayerIE
32 from .atttechchannel import ATTTechChannelIE
33 from .audiomack import AudiomackIE, AudiomackAlbumIE
34 from .azubu import AzubuIE
35 from .bambuser import BambuserIE, BambuserChannelIE
36 from .bandcamp import BandcampIE, BandcampAlbumIE
37 from .bbccouk import BBCCoUkIE
38 from .beeg import BeegIE
39 from .behindkink import BehindKinkIE
40 from .beatportpro import BeatportProIE
41 from .bet import BetIE
42 from .bild import BildIE
43 from .bilibili import BiliBiliIE
44 from .blinkx import BlinkxIE
45 from .bliptv import BlipTVIE, BlipTVUserIE
46 from .bloomberg import BloombergIE
47 from .bpb import BpbIE
49 from .breakcom import BreakIE
50 from .brightcove import BrightcoveIE
51 from .buzzfeed import BuzzFeedIE
52 from .byutv import BYUtvIE
53 from .c56 import C56IE
54 from .camdemy import (
58 from .canal13cl import Canal13clIE
59 from .canalplus import CanalplusIE
60 from .canalc2 import Canalc2IE
61 from .cbs import CBSIE
62 from .cbsnews import CBSNewsIE
63 from .cbssports import CBSSportsIE
64 from .ccc import CCCIE
65 from .ceskatelevize import CeskaTelevizeIE
66 from .channel9 import Channel9IE
67 from .chilloutzone import ChilloutzoneIE
68 from .chirbit import (
72 from .cinchcast import CinchcastIE
73 from .clipfish import ClipfishIE
74 from .cliphunter import CliphunterIE
75 from .clipsyndicate import ClipsyndicateIE
76 from .cloudy import CloudyIE
77 from .clubic import ClubicIE
78 from .cmt import CMTIE
79 from .cnet import CNETIE
85 from .collegehumor import CollegeHumorIE
86 from .collegerama import CollegeRamaIE
87 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
88 from .comcarcoff import ComCarCoffIE
89 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
90 from .condenast import CondeNastIE
91 from .cracked import CrackedIE
92 from .criterion import CriterionIE
93 from .crunchyroll import (
95 CrunchyrollShowPlaylistIE
97 from .cspan import CSpanIE
98 from .ctsnews import CtsNewsIE
99 from .dailymotion import (
101 DailymotionPlaylistIE,
104 from .daum import DaumIE
105 from .dbtv import DBTVIE
106 from .dctp import DctpTvIE
107 from .deezer import DeezerPlaylistIE
108 from .dfb import DFBIE
109 from .dotsub import DotsubIE
110 from .douyutv import DouyuTVIE
111 from .dreisat import DreiSatIE
112 from .drbonanza import DRBonanzaIE
113 from .drtuber import DrTuberIE
114 from .drtv import DRTVIE
115 from .dvtv import DVTVIE
116 from .dump import DumpIE
117 from .defense import DefenseGouvFrIE
118 from .discovery import DiscoveryIE
119 from .divxstage import DivxStageIE
120 from .dropbox import DropboxIE
121 from .eagleplatform import EaglePlatformIE
122 from .ebaumsworld import EbaumsWorldIE
123 from .echomsk import EchoMskIE
124 from .ehow import EHowIE
125 from .eighttracks import EightTracksIE
126 from .einthusan import EinthusanIE
127 from .eitb import EitbIE
128 from .ellentv import (
132 from .elpais import ElPaisIE
133 from .embedly import EmbedlyIE
134 from .empflix import EMPFlixIE
135 from .engadget import EngadgetIE
136 from .eporner import EpornerIE
137 from .eroprofile import EroProfileIE
138 from .escapist import EscapistIE
139 from .everyonesmixtape import EveryonesMixtapeIE
140 from .exfm import ExfmIE
141 from .expotv import ExpoTVIE
142 from .extremetube import ExtremeTubeIE
143 from .facebook import FacebookIE
144 from .faz import FazIE
145 from .fc2 import FC2IE
146 from .firedrive import FiredriveIE
147 from .firstpost import FirstpostIE
148 from .firsttv import FirstTVIE
149 from .fivemin import FiveMinIE
154 from .flickr import FlickrIE
155 from .folketinget import FolketingetIE
156 from .footyroom import FootyRoomIE
157 from .fourtube import FourTubeIE
158 from .foxgay import FoxgayIE
159 from .foxnews import FoxNewsIE
160 from .franceculture import FranceCultureIE
161 from .franceinter import FranceInterIE
162 from .francetv import (
169 from .freesound import FreesoundIE
170 from .freespeech import FreespeechIE
171 from .freevideo import FreeVideoIE
172 from .funnyordie import FunnyOrDieIE
173 from .gamekings import GamekingsIE
174 from .gameone import (
178 from .gamespot import GameSpotIE
179 from .gamestar import GameStarIE
180 from .gametrailers import GametrailersIE
181 from .gazeta import GazetaIE
182 from .gdcvault import GDCVaultIE
183 from .generic import GenericIE
184 from .giantbomb import GiantBombIE
185 from .giga import GigaIE
186 from .glide import GlideIE
187 from .globo import GloboIE
188 from .godtube import GodTubeIE
189 from .goldenmoustache import GoldenMoustacheIE
190 from .golem import GolemIE
191 from .googleplus import GooglePlusIE
192 from .googlesearch import GoogleSearchIE
193 from .gorillavid import GorillaVidIE
194 from .goshgay import GoshgayIE
195 from .grooveshark import GroovesharkIE
196 from .groupon import GrouponIE
197 from .hark import HarkIE
198 from .hearthisat import HearThisAtIE
199 from .heise import HeiseIE
200 from .hellporno import HellPornoIE
201 from .helsinki import HelsinkiIE
202 from .hentaistigma import HentaiStigmaIE
203 from .historicfilms import HistoricFilmsIE
204 from .history import HistoryIE
205 from .hitbox import HitboxIE, HitboxLiveIE
206 from .hornbunny import HornBunnyIE
207 from .hostingbulk import HostingBulkIE
208 from .hotnewhiphop import HotNewHipHopIE
209 from .howcast import HowcastIE
210 from .howstuffworks import HowStuffWorksIE
211 from .huffpost import HuffPostIE
212 from .hypem import HypemIE
213 from .iconosquare import IconosquareIE
214 from .ign import IGNIE, OneUPIE
219 from .imgur import ImgurIE
220 from .ina import InaIE
221 from .infoq import InfoQIE
222 from .instagram import InstagramIE, InstagramUserIE
223 from .internetvideoarchive import InternetVideoArchiveIE
224 from .iprima import IPrimaIE
229 from .izlesene import IzleseneIE
230 from .jadorecettepub import JadoreCettePubIE
231 from .jeuxvideo import JeuxVideoIE
232 from .jove import JoveIE
233 from .jukebox import JukeboxIE
234 from .jpopsukitv import JpopsukiIE
235 from .kaltura import KalturaIE
236 from .kanalplay import KanalPlayIE
237 from .kankan import KankanIE
238 from .karaoketv import KaraoketvIE
239 from .keezmovies import KeezMoviesIE
240 from .khanacademy import KhanAcademyIE
241 from .kickstarter import KickStarterIE
242 from .keek import KeekIE
243 from .kontrtube import KontrTubeIE
244 from .krasview import KrasViewIE
245 from .ku6 import Ku6IE
246 from .la7 import LA7IE
247 from .laola1tv import Laola1TvIE
253 from .libsyn import LibsynIE
254 from .lifenews import LifeNewsIE
255 from .liveleak import LiveLeakIE
256 from .livestream import (
258 LivestreamOriginalIE,
259 LivestreamShortenerIE,
261 from .lnkgo import LnkGoIE
262 from .lrt import LRTIE
268 from .macgamestore import MacGameStoreIE
269 from .mailru import MailRuIE
270 from .malemotion import MalemotionIE
271 from .mdr import MDRIE
272 from .metacafe import MetacafeIE
273 from .metacritic import MetacriticIE
274 from .mgoon import MgoonIE
275 from .minhateca import MinhatecaIE
276 from .ministrygrid import MinistryGridIE
277 from .mit import TechTVMITIE, MITIE, OCWMITIE
278 from .mitele import MiTeleIE
279 from .mixcloud import MixcloudIE
280 from .mlb import MLBIE
281 from .mpora import MporaIE
282 from .moevideo import MoeVideoIE
283 from .mofosex import MofosexIE
284 from .mojvideo import MojvideoIE
285 from .moniker import MonikerIE
286 from .mooshare import MooshareIE
287 from .morningstar import MorningstarIE
288 from .motherless import MotherlessIE
289 from .motorsport import MotorsportIE
290 from .movieclips import MovieClipsIE
291 from .moviezine import MoviezineIE
292 from .movshare import MovShareIE
295 MTVServicesEmbeddedIE,
298 from .muenchentv import MuenchenTVIE
299 from .musicplayon import MusicPlayOnIE
300 from .musicvault import MusicVaultIE
301 from .muzu import MuzuTVIE
302 from .myspace import MySpaceIE, MySpaceAlbumIE
303 from .myspass import MySpassIE
304 from .myvideo import MyVideoIE
305 from .myvidster import MyVidsterIE
306 from .nationalgeographic import NationalGeographicIE
307 from .naver import NaverIE
308 from .nba import NBAIE
313 from .ndr import NDRIE
314 from .ndtv import NDTVIE
315 from .netzkino import NetzkinoIE
316 from .nerdcubed import NerdCubedFeedIE
317 from .nerdist import NerdistIE
318 from .newgrounds import NewgroundsIE
319 from .newstube import NewstubeIE
320 from .nextmedia import (
322 NextMediaActionNewsIE,
323 AppleDailyRealtimeNewsIE,
324 AppleDailyAnimationNewsIE
326 from .nfb import NFBIE
327 from .nfl import NFLIE
333 from .niconico import NiconicoIE, NiconicoPlaylistIE
334 from .ninegag import NineGagIE
335 from .noco import NocoIE
336 from .normalboots import NormalbootsIE
337 from .nosvideo import NosVideoIE
338 from .novamov import NovaMovIE
339 from .nowness import NownessIE
340 from .nowvideo import NowVideoIE
353 from .ntvde import NTVDeIE
354 from .ntvru import NTVRuIE
355 from .nytimes import NYTimesIE
356 from .nuvid import NuvidIE
357 from .odnoklassniki import OdnoklassnikiIE
358 from .oktoberfesttv import OktoberfestTVIE
359 from .ooyala import OoyalaIE
360 from .openfilm import OpenFilmIE
367 from .parliamentliveuk import ParliamentLiveUKIE
368 from .patreon import PatreonIE
369 from .pbs import PBSIE
370 from .phoenix import PhoenixIE
371 from .photobucket import PhotobucketIE
372 from .planetaplay import PlanetaPlayIE
373 from .pladform import PladformIE
374 from .played import PlayedIE
375 from .playfm import PlayFMIE
376 from .playvid import PlayvidIE
377 from .playwire import PlaywireIE
378 from .podomatic import PodomaticIE
379 from .pornhd import PornHdIE
380 from .pornhub import (
384 from .pornotube import PornotubeIE
385 from .pornoxo import PornoXOIE
386 from .primesharetv import PrimeShareTVIE
387 from .promptfile import PromptFileIE
388 from .prosiebensat1 import ProSiebenSat1IE
389 from .puls4 import Puls4IE
390 from .pyvideo import PyvideoIE
391 from .quickvid import QuickVidIE
393 from .radiode import RadioDeIE
394 from .radiobremen import RadioBremenIE
395 from .radiofrance import RadioFranceIE
396 from .rai import RaiIE
397 from .rbmaradio import RBMARadioIE
398 from .redtube import RedTubeIE
399 from .restudy import RestudyIE
400 from .reverbnation import ReverbNationIE
401 from .ringtv import RingTVIE
402 from .ro220 import Ro220IE
403 from .rottentomatoes import RottenTomatoesIE
404 from .roxwel import RoxwelIE
405 from .rtbf import RTBFIE
406 from .rte import RteIE
407 from .rtlnl import RtlNlIE
408 from .rtlnow import RTLnowIE
409 from .rtl2 import RTL2IE
410 from .rtp import RTPIE
411 from .rts import RTSIE
412 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
413 from .ruhd import RUHDIE
414 from .rutube import (
421 from .rutv import RUTVIE
422 from .sandia import SandiaIE
423 from .sapo import SapoIE
424 from .savefrom import SaveFromIE
425 from .sbs import SBSIE
426 from .scivee import SciVeeIE
427 from .screencast import ScreencastIE
428 from .screencastomatic import ScreencastOMaticIE
429 from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
430 from .servingsys import ServingSysIE
431 from .sexu import SexuIE
432 from .sexykarma import SexyKarmaIE
433 from .shared import SharedIE
434 from .sharesix import ShareSixIE
435 from .sina import SinaIE
436 from .slideshare import SlideshareIE
437 from .slutload import SlutloadIE
438 from .smotri import (
444 from .snotr import SnotrIE
445 from .sockshare import SockshareIE
446 from .sohu import SohuIE
447 from .soundcloud import (
453 from .soundgasm import (
457 from .southpark import (
461 from .space import SpaceIE
462 from .spankwire import SpankwireIE
463 from .spiegel import SpiegelIE, SpiegelArticleIE
464 from .spiegeltv import SpiegeltvIE
465 from .spike import SpikeIE
466 from .sport5 import Sport5IE
467 from .sportbox import SportBoxIE
468 from .sportdeutschland import SportDeutschlandIE
469 from .srmediathek import SRMediathekIE
470 from .ssa import SSAIE
471 from .stanfordoc import StanfordOpenClassroomIE
472 from .steam import SteamIE
473 from .streamcloud import StreamcloudIE
474 from .streamcz import StreamCZIE
475 from .streetvoice import StreetVoiceIE
476 from .sunporno import SunPornoIE
477 from .svtplay import SVTPlayIE
478 from .swrmediathek import SWRMediathekIE
479 from .syfy import SyfyIE
480 from .sztvhu import SztvHuIE
481 from .tagesschau import TagesschauIE
482 from .tapely import TapelyIE
483 from .tass import TassIE
484 from .teachertube import (
488 from .teachingchannel import TeachingChannelIE
489 from .teamcoco import TeamcocoIE
490 from .techtalks import TechTalksIE
491 from .ted import TEDIE
492 from .telebruxelles import TeleBruxellesIE
493 from .telecinco import TelecincoIE
494 from .telemb import TeleMBIE
495 from .teletask import TeleTaskIE
496 from .tenplay import TenPlayIE
497 from .testurl import TestURLIE
498 from .testtube import TestTubeIE
499 from .tf1 import TF1IE
500 from .theonion import TheOnionIE
501 from .theplatform import ThePlatformIE
502 from .thesixtyone import TheSixtyOneIE
503 from .thisav import ThisAVIE
504 from .tinypic import TinyPicIE
505 from .tlc import TlcIE, TlcDeIE
506 from .tmz import TMZIE
507 from .tnaflix import TNAFlixIE
508 from .thvideo import (
512 from .toutv import TouTvIE
513 from .toypics import ToypicsUserIE, ToypicsIE
514 from .traileraddict import TrailerAddictIE
515 from .trilulilu import TriluliluIE
516 from .trutube import TruTubeIE
517 from .tube8 import Tube8IE
518 from .tudou import TudouIE
519 from .tumblr import TumblrIE
520 from .tunein import TuneInIE
521 from .turbo import TurboIE
522 from .tutv import TutvIE
523 from .tv4 import TV4IE
524 from .tvigle import TvigleIE
525 from .tvp import TvpIE, TvpSeriesIE
526 from .tvplay import TVPlayIE
527 from .tweakers import TweakersIE
528 from .twentyfourvideo import TwentyFourVideoIE
529 from .twitch import (
534 TwitchPastBroadcastsIE,
538 from .ubu import UbuIE
543 from .ultimedia import UltimediaIE
544 from .unistra import UnistraIE
545 from .urort import UrortIE
546 from .ustream import UstreamIE, UstreamChannelIE
547 from .vbox7 import Vbox7IE
548 from .veehd import VeeHDIE
549 from .veoh import VeohIE
550 from .vesti import VestiIE
551 from .vevo import VevoIE
552 from .vgtv import VGTVIE
553 from .vh1 import VH1IE
554 from .vice import ViceIE
555 from .viddler import ViddlerIE
556 from .videobam import VideoBamIE
557 from .videodetective import VideoDetectiveIE
558 from .videolecturesnet import VideoLecturesNetIE
559 from .videofyme import VideofyMeIE
560 from .videomega import VideoMegaIE
561 from .videopremium import VideoPremiumIE
562 from .videott import VideoTtIE
563 from .videoweed import VideoWeedIE
564 from .vidme import VidmeIE
565 from .vidzi import VidziIE
566 from .vier import VierIE, VierVideosIE
567 from .viewster import ViewsterIE
578 from .vimple import VimpleIE
583 from .viki import VikiIE
588 from .vodlocker import VodlockerIE
589 from .vporn import VpornIE
590 from .vrt import VRTIE
591 from .vube import VubeIE
592 from .vuclip import VuClipIE
593 from .vulture import VultureIE
594 from .walla import WallaIE
595 from .washingtonpost import WashingtonPostIE
596 from .wat import WatIE
597 from .wayofthemaster import WayOfTheMasterIE
603 from .webofstories import WebOfStoriesIE
604 from .weibo import WeiboIE
605 from .wimp import WimpIE
606 from .wistia import WistiaIE
607 from .worldstarhiphop import WorldStarHipHopIE
608 from .wrzuta import WrzutaIE
609 from .wsj import WSJIE
610 from .xbef import XBefIE
611 from .xboxclips import XboxClipsIE
612 from .xhamster import XHamsterIE
613 from .xminus import XMinusIE
614 from .xnxx import XNXXIE
615 from .xvideos import XVideosIE
616 from .xtube import XTubeUserIE, XTubeIE
617 from .xuite import XuiteIE
618 from .xxxymovies import XXXYMoviesIE
623 from .yam import YamIE
624 from .yandexmusic import (
627 YandexMusicPlaylistIE,
629 from .yesjapan import YesJapanIE
630 from .ynet import YnetIE
631 from .youjizz import YouJizzIE
632 from .youku import YoukuIE
633 from .youporn import YouPornIE
634 from .yourupload import YourUploadIE
635 from .youtube import (
641 YoutubeRecommendedIE,
646 YoutubeSubscriptionsIE,
647 YoutubeTruncatedIDIE,
648 YoutubeTruncatedURLIE,
652 from .zapiks import ZapiksIE
653 from .zdf import ZDFIE, ZDFChannelIE
654 from .zingmp3 import (
661 for name, klass in globals().items()
662 if name.endswith('IE') and name != 'GenericIE'
664 _ALL_CLASSES.append(GenericIE)
667 def gen_extractors():
668 """ Return a list of an instance of every supported extractor.
669 The order does matter; the first extractor matched is the one handling the URL.
671 return [klass() for klass in _ALL_CLASSES]
674 def list_extractors(age_limit):
676 Return a list of extractors that are suitable for the given age,
677 sorted by extractor ID.
681 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
682 key=lambda ie: ie.IE_NAME.lower())
685 def get_info_extractor(ie_name):
686 """Returns the info extractor class with the given ie_name"""
687 return globals()[ie_name + 'IE']