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 .aftonbladet import AftonbladetIE
10 from .aljazeera import AlJazeeraIE
11 from .alphaporno import AlphaPornoIE
12 from .anitube import AnitubeIE
13 from .anysex import AnySexIE
14 from .aol import AolIE
15 from .allocine import AllocineIE
16 from .aparat import AparatIE
17 from .appletrailers import AppleTrailersIE
18 from .archiveorg import ArchiveOrgIE
19 from .ard import ARDIE, ARDMediathekIE
29 from .atresplayer import AtresPlayerIE
30 from .atttechchannel import ATTTechChannelIE
31 from .audiomack import AudiomackIE, AudiomackAlbumIE
32 from .auengine import AUEngineIE
33 from .azubu import AzubuIE
34 from .bambuser import BambuserIE, BambuserChannelIE
35 from .bandcamp import BandcampIE, BandcampAlbumIE
36 from .bbccouk import BBCCoUkIE
37 from .beeg import BeegIE
38 from .behindkink import BehindKinkIE
39 from .bet import BetIE
40 from .bild import BildIE
41 from .bilibili import BiliBiliIE
42 from .blinkx import BlinkxIE
43 from .bliptv import BlipTVIE, BlipTVUserIE
44 from .bloomberg import BloombergIE
45 from .bpb import BpbIE
47 from .breakcom import BreakIE
48 from .brightcove import BrightcoveIE
49 from .buzzfeed import BuzzFeedIE
50 from .byutv import BYUtvIE
51 from .c56 import C56IE
52 from .canal13cl import Canal13clIE
53 from .canalplus import CanalplusIE
54 from .canalc2 import Canalc2IE
55 from .cbs import CBSIE
56 from .cbsnews import CBSNewsIE
57 from .ceskatelevize import CeskaTelevizeIE
58 from .channel9 import Channel9IE
59 from .chilloutzone import ChilloutzoneIE
60 from .cinchcast import CinchcastIE
61 from .clipfish import ClipfishIE
62 from .cliphunter import CliphunterIE
63 from .clipsyndicate import ClipsyndicateIE
64 from .cloudy import CloudyIE
65 from .clubic import ClubicIE
66 from .cmt import CMTIE
67 from .cnet import CNETIE
73 from .collegehumor import CollegeHumorIE
74 from .collegerama import CollegeRamaIE
75 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
76 from .comcarcoff import ComCarCoffIE
77 from .commonmistakes import CommonMistakesIE
78 from .condenast import CondeNastIE
79 from .cracked import CrackedIE
80 from .criterion import CriterionIE
81 from .crunchyroll import (
83 CrunchyrollShowPlaylistIE
85 from .cspan import CSpanIE
86 from .dailymotion import (
88 DailymotionPlaylistIE,
91 from .daum import DaumIE
92 from .dbtv import DBTVIE
93 from .deezer import DeezerPlaylistIE
94 from .dfb import DFBIE
95 from .dotsub import DotsubIE
96 from .dreisat import DreiSatIE
97 from .drbonanza import DRBonanzaIE
98 from .drtuber import DrTuberIE
99 from .drtv import DRTVIE
100 from .dvtv import DVTVIE
101 from .dump import DumpIE
102 from .defense import DefenseGouvFrIE
103 from .discovery import DiscoveryIE
104 from .divxstage import DivxStageIE
105 from .dropbox import DropboxIE
106 from .ebaumsworld import EbaumsWorldIE
107 from .echomsk import EchoMskIE
108 from .ehow import EHowIE
109 from .eighttracks import EightTracksIE
110 from .einthusan import EinthusanIE
111 from .eitb import EitbIE
112 from .ellentv import (
116 from .elpais import ElPaisIE
117 from .empflix import EMPFlixIE
118 from .engadget import EngadgetIE
119 from .eporner import EpornerIE
120 from .eroprofile import EroProfileIE
121 from .escapist import EscapistIE
122 from .everyonesmixtape import EveryonesMixtapeIE
123 from .exfm import ExfmIE
124 from .expotv import ExpoTVIE
125 from .extremetube import ExtremeTubeIE
126 from .facebook import FacebookIE
127 from .faz import FazIE
128 from .fc2 import FC2IE
129 from .firedrive import FiredriveIE
130 from .firstpost import FirstpostIE
131 from .firsttv import FirstTVIE
132 from .fivemin import FiveMinIE
137 from .flickr import FlickrIE
138 from .folketinget import FolketingetIE
139 from .fourtube import FourTubeIE
140 from .foxgay import FoxgayIE
141 from .foxnews import FoxNewsIE
142 from .franceculture import FranceCultureIE
143 from .franceinter import FranceInterIE
144 from .francetv import (
151 from .freesound import FreesoundIE
152 from .freespeech import FreespeechIE
153 from .freevideo import FreeVideoIE
154 from .funnyordie import FunnyOrDieIE
155 from .gamekings import GamekingsIE
156 from .gameone import (
160 from .gamespot import GameSpotIE
161 from .gamestar import GameStarIE
162 from .gametrailers import GametrailersIE
163 from .gdcvault import GDCVaultIE
164 from .generic import GenericIE
165 from .giantbomb import GiantBombIE
166 from .giga import GigaIE
167 from .glide import GlideIE
168 from .globo import GloboIE
169 from .godtube import GodTubeIE
170 from .goldenmoustache import GoldenMoustacheIE
171 from .golem import GolemIE
172 from .googleplus import GooglePlusIE
173 from .googlesearch import GoogleSearchIE
174 from .gorillavid import GorillaVidIE
175 from .goshgay import GoshgayIE
176 from .grooveshark import GroovesharkIE
177 from .groupon import GrouponIE
178 from .hark import HarkIE
179 from .heise import HeiseIE
180 from .hellporno import HellPornoIE
181 from .helsinki import HelsinkiIE
182 from .hentaistigma import HentaiStigmaIE
183 from .hitbox import HitboxIE, HitboxLiveIE
184 from .hornbunny import HornBunnyIE
185 from .hostingbulk import HostingBulkIE
186 from .hotnewhiphop import HotNewHipHopIE
187 from .howcast import HowcastIE
188 from .howstuffworks import HowStuffWorksIE
189 from .huffpost import HuffPostIE
190 from .hypem import HypemIE
191 from .iconosquare import IconosquareIE
192 from .ign import IGNIE, OneUPIE
197 from .ina import InaIE
198 from .infoq import InfoQIE
199 from .instagram import InstagramIE, InstagramUserIE
200 from .internetvideoarchive import InternetVideoArchiveIE
201 from .iprima import IPrimaIE
206 from .izlesene import IzleseneIE
207 from .jadorecettepub import JadoreCettePubIE
208 from .jeuxvideo import JeuxVideoIE
209 from .jove import JoveIE
210 from .jukebox import JukeboxIE
211 from .jpopsukitv import JpopsukiIE
212 from .kankan import KankanIE
213 from .karaoketv import KaraoketvIE
214 from .keezmovies import KeezMoviesIE
215 from .khanacademy import KhanAcademyIE
216 from .kickstarter import KickStarterIE
217 from .keek import KeekIE
218 from .kontrtube import KontrTubeIE
219 from .krasview import KrasViewIE
220 from .ku6 import Ku6IE
221 from .la7 import LA7IE
222 from .laola1tv import Laola1TvIE
223 from .lifenews import LifeNewsIE
224 from .liveleak import LiveLeakIE
225 from .livestream import (
227 LivestreamOriginalIE,
228 LivestreamShortenerIE,
230 from .lnkgo import LnkGoIE
231 from .lrt import LRTIE
237 from .macgamestore import MacGameStoreIE
238 from .mailru import MailRuIE
239 from .malemotion import MalemotionIE
240 from .mdr import MDRIE
241 from .metacafe import MetacafeIE
242 from .metacritic import MetacriticIE
243 from .mgoon import MgoonIE
244 from .minhateca import MinhatecaIE
245 from .ministrygrid import MinistryGridIE
246 from .mit import TechTVMITIE, MITIE, OCWMITIE
247 from .mitele import MiTeleIE
248 from .mixcloud import MixcloudIE
249 from .mlb import MLBIE
250 from .mpora import MporaIE
251 from .moevideo import MoeVideoIE
252 from .mofosex import MofosexIE
253 from .mojvideo import MojvideoIE
254 from .moniker import MonikerIE
255 from .mooshare import MooshareIE
256 from .morningstar import MorningstarIE
257 from .motherless import MotherlessIE
258 from .motorsport import MotorsportIE
259 from .movieclips import MovieClipsIE
260 from .moviezine import MoviezineIE
261 from .movshare import MovShareIE
264 MTVServicesEmbeddedIE,
267 from .muenchentv import MuenchenTVIE
268 from .musicplayon import MusicPlayOnIE
269 from .musicvault import MusicVaultIE
270 from .muzu import MuzuTVIE
271 from .myspace import MySpaceIE, MySpaceAlbumIE
272 from .myspass import MySpassIE
273 from .myvideo import MyVideoIE
274 from .myvidster import MyVidsterIE
275 from .naver import NaverIE
276 from .nba import NBAIE
281 from .ndr import NDRIE
282 from .ndtv import NDTVIE
283 from .netzkino import NetzkinoIE
284 from .nerdcubed import NerdCubedFeedIE
285 from .newgrounds import NewgroundsIE
286 from .newstube import NewstubeIE
287 from .nfb import NFBIE
288 from .nfl import NFLIE
289 from .nhl import NHLIE, NHLVideocenterIE
290 from .niconico import NiconicoIE, NiconicoPlaylistIE
291 from .ninegag import NineGagIE
292 from .noco import NocoIE
293 from .normalboots import NormalbootsIE
294 from .nosvideo import NosVideoIE
295 from .novamov import NovaMovIE
296 from .nowness import NownessIE
297 from .nowvideo import NowVideoIE
307 from .ntv import NTVIE
308 from .nytimes import NYTimesIE
309 from .nuvid import NuvidIE
310 from .oktoberfesttv import OktoberfestTVIE
311 from .ooyala import OoyalaIE
312 from .openfilm import OpenFilmIE
318 from .parliamentliveuk import ParliamentLiveUKIE
319 from .patreon import PatreonIE
320 from .pbs import PBSIE
321 from .phoenix import PhoenixIE
322 from .photobucket import PhotobucketIE
323 from .planetaplay import PlanetaPlayIE
324 from .played import PlayedIE
325 from .playfm import PlayFMIE
326 from .playvid import PlayvidIE
327 from .podomatic import PodomaticIE
328 from .pornhd import PornHdIE
329 from .pornhub import PornHubIE
330 from .pornotube import PornotubeIE
331 from .pornoxo import PornoXOIE
332 from .promptfile import PromptFileIE
333 from .prosiebensat1 import ProSiebenSat1IE
334 from .pyvideo import PyvideoIE
335 from .quickvid import QuickVidIE
336 from .radiode import RadioDeIE
337 from .radiobremen import RadioBremenIE
338 from .radiofrance import RadioFranceIE
339 from .rai import RaiIE
340 from .rbmaradio import RBMARadioIE
341 from .redtube import RedTubeIE
342 from .restudy import RestudyIE
343 from .reverbnation import ReverbNationIE
344 from .ringtv import RingTVIE
345 from .ro220 import Ro220IE
346 from .rottentomatoes import RottenTomatoesIE
347 from .roxwel import RoxwelIE
348 from .rtbf import RTBFIE
349 from .rte import RteIE
350 from .rtlnl import RtlXlIE
351 from .rtlnow import RTLnowIE
352 from .rtp import RTPIE
353 from .rts import RTSIE
354 from .rtve import RTVEALaCartaIE, RTVELiveIE
355 from .ruhd import RUHDIE
356 from .rutube import (
363 from .rutv import RUTVIE
364 from .sapo import SapoIE
365 from .savefrom import SaveFromIE
366 from .sbs import SBSIE
367 from .scivee import SciVeeIE
368 from .screencast import ScreencastIE
369 from .screencastomatic import ScreencastOMaticIE
370 from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
371 from .servingsys import ServingSysIE
372 from .sexu import SexuIE
373 from .sexykarma import SexyKarmaIE
374 from .shared import SharedIE
375 from .sharesix import ShareSixIE
376 from .sina import SinaIE
377 from .slideshare import SlideshareIE
378 from .slutload import SlutloadIE
379 from .smotri import (
385 from .snotr import SnotrIE
386 from .sockshare import SockshareIE
387 from .sohu import SohuIE
388 from .soundcloud import (
394 from .soundgasm import SoundgasmIE
395 from .southpark import (
399 from .space import SpaceIE
400 from .spankwire import SpankwireIE
401 from .spiegel import SpiegelIE, SpiegelArticleIE
402 from .spiegeltv import SpiegeltvIE
403 from .spike import SpikeIE
404 from .sport5 import Sport5IE
405 from .sportbox import SportBoxIE
406 from .sportdeutschland import SportDeutschlandIE
407 from .srmediathek import SRMediathekIE
408 from .stanfordoc import StanfordOpenClassroomIE
409 from .steam import SteamIE
410 from .streamcloud import StreamcloudIE
411 from .streamcz import StreamCZIE
412 from .streetvoice import StreetVoiceIE
413 from .sunporno import SunPornoIE
414 from .swrmediathek import SWRMediathekIE
415 from .syfy import SyfyIE
416 from .sztvhu import SztvHuIE
417 from .tagesschau import TagesschauIE
418 from .tapely import TapelyIE
419 from .tass import TassIE
420 from .teachertube import (
424 from .teachingchannel import TeachingChannelIE
425 from .teamcoco import TeamcocoIE
426 from .techtalks import TechTalksIE
427 from .ted import TEDIE
428 from .telebruxelles import TeleBruxellesIE
429 from .telecinco import TelecincoIE
430 from .telemb import TeleMBIE
431 from .teletask import TeleTaskIE
432 from .tenplay import TenPlayIE
433 from .testurl import TestURLIE
434 from .tf1 import TF1IE
435 from .theonion import TheOnionIE
436 from .theplatform import ThePlatformIE
437 from .thesixtyone import TheSixtyOneIE
438 from .thisav import ThisAVIE
439 from .tinypic import TinyPicIE
440 from .tlc import TlcIE, TlcDeIE
441 from .tmz import TMZIE
442 from .tnaflix import TNAFlixIE
443 from .thvideo import (
447 from .toutv import TouTvIE
448 from .toypics import ToypicsUserIE, ToypicsIE
449 from .traileraddict import TrailerAddictIE
450 from .trilulilu import TriluliluIE
451 from .trutube import TruTubeIE
452 from .tube8 import Tube8IE
453 from .tudou import TudouIE
454 from .tumblr import TumblrIE
455 from .tunein import TuneInIE
456 from .turbo import TurboIE
457 from .tutv import TutvIE
458 from .tvigle import TvigleIE
459 from .tvp import TvpIE, TvpSeriesIE
460 from .tvplay import TVPlayIE
461 from .twentyfourvideo import TwentyFourVideoIE
462 from .twitch import (
467 TwitchPastBroadcastsIE,
469 from .ubu import UbuIE
474 from .unistra import UnistraIE
475 from .urort import UrortIE
476 from .ustream import UstreamIE, UstreamChannelIE
477 from .vbox7 import Vbox7IE
478 from .veehd import VeeHDIE
479 from .veoh import VeohIE
480 from .vesti import VestiIE
481 from .vevo import VevoIE
482 from .vgtv import VGTVIE
483 from .vh1 import VH1IE
484 from .vice import ViceIE
485 from .viddler import ViddlerIE
486 from .videobam import VideoBamIE
487 from .videodetective import VideoDetectiveIE
488 from .videolecturesnet import VideoLecturesNetIE
489 from .videofyme import VideofyMeIE
490 from .videomega import VideoMegaIE
491 from .videopremium import VideoPremiumIE
492 from .videott import VideoTtIE
493 from .videoweed import VideoWeedIE
494 from .vidme import VidmeIE
495 from .vidzi import VidziIE
496 from .vier import VierIE, VierVideosIE
507 from .vimple import VimpleIE
512 from .viki import VikiIE
517 from .vodlocker import VodlockerIE
518 from .vporn import VpornIE
519 from .vrt import VRTIE
520 from .vube import VubeIE
521 from .vuclip import VuClipIE
522 from .vulture import VultureIE
523 from .walla import WallaIE
524 from .washingtonpost import WashingtonPostIE
525 from .wat import WatIE
526 from .wayofthemaster import WayOfTheMasterIE
532 from .webofstories import WebOfStoriesIE
533 from .weibo import WeiboIE
534 from .wimp import WimpIE
535 from .wistia import WistiaIE
536 from .worldstarhiphop import WorldStarHipHopIE
537 from .wrzuta import WrzutaIE
538 from .xbef import XBefIE
539 from .xboxclips import XboxClipsIE
540 from .xhamster import XHamsterIE
541 from .xminus import XMinusIE
542 from .xnxx import XNXXIE
543 from .xvideos import XVideosIE
544 from .xtube import XTubeUserIE, XTubeIE
545 from .xxxymovies import XXXYMoviesIE
550 from .yesjapan import YesJapanIE
551 from .ynet import YnetIE
552 from .youjizz import YouJizzIE
553 from .youku import YoukuIE
554 from .youporn import YouPornIE
555 from .yourupload import YourUploadIE
556 from .youtube import (
562 YoutubeRecommendedIE,
567 YoutubeSubscriptionsIE,
568 YoutubeTruncatedIDIE,
569 YoutubeTruncatedURLIE,
573 from .zdf import ZDFIE, ZDFChannelIE
574 from .zingmp3 import (
581 for name, klass in globals().items()
582 if name.endswith('IE') and name != 'GenericIE'
584 _ALL_CLASSES.append(GenericIE)
587 def gen_extractors():
588 """ Return a list of an instance of every supported extractor.
589 The order does matter; the first extractor matched is the one handling the URL.
591 return [klass() for klass in _ALL_CLASSES]
594 def list_extractors(age_limit):
596 Return a list of extractors that are suitable for the given age,
597 sorted by extractor ID.
601 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
602 key=lambda ie: ie.IE_NAME.lower())
605 def get_info_extractor(ie_name):
606 """Returns the info extractor class with the given ie_name"""
607 return globals()[ie_name + 'IE']