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