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 .bet import BetIE
41 from .bild import BildIE
42 from .bilibili import BiliBiliIE
43 from .blinkx import BlinkxIE
44 from .bliptv import BlipTVIE, BlipTVUserIE
45 from .bloomberg import BloombergIE
46 from .bpb import BpbIE
48 from .breakcom import BreakIE
49 from .brightcove import BrightcoveIE
50 from .buzzfeed import BuzzFeedIE
51 from .byutv import BYUtvIE
52 from .c56 import C56IE
53 from .camdemy import (
57 from .canal13cl import Canal13clIE
58 from .canalplus import CanalplusIE
59 from .canalc2 import Canalc2IE
60 from .cbs import CBSIE
61 from .cbsnews import CBSNewsIE
62 from .cbssports import CBSSportsIE
63 from .ccc import CCCIE
64 from .ceskatelevize import CeskaTelevizeIE
65 from .channel9 import Channel9IE
66 from .chilloutzone import ChilloutzoneIE
67 from .chirbit import (
71 from .cinchcast import CinchcastIE
72 from .clipfish import ClipfishIE
73 from .cliphunter import CliphunterIE
74 from .clipsyndicate import ClipsyndicateIE
75 from .cloudy import CloudyIE
76 from .clubic import ClubicIE
77 from .cmt import CMTIE
78 from .cnet import CNETIE
84 from .collegehumor import CollegeHumorIE
85 from .collegerama import CollegeRamaIE
86 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
87 from .comcarcoff import ComCarCoffIE
88 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
89 from .condenast import CondeNastIE
90 from .cracked import CrackedIE
91 from .criterion import CriterionIE
92 from .crunchyroll import (
94 CrunchyrollShowPlaylistIE
96 from .cspan import CSpanIE
97 from .ctsnews import CtsNewsIE
98 from .dailymotion import (
100 DailymotionPlaylistIE,
103 from .daum import DaumIE
104 from .dbtv import DBTVIE
105 from .dctp import DctpTvIE
106 from .deezer import DeezerPlaylistIE
107 from .dfb import DFBIE
108 from .dotsub import DotsubIE
109 from .dreisat import DreiSatIE
110 from .drbonanza import DRBonanzaIE
111 from .drtuber import DrTuberIE
112 from .drtv import DRTVIE
113 from .dvtv import DVTVIE
114 from .dump import DumpIE
115 from .defense import DefenseGouvFrIE
116 from .discovery import DiscoveryIE
117 from .divxstage import DivxStageIE
118 from .dropbox import DropboxIE
119 from .eagleplatform import EaglePlatformIE
120 from .ebaumsworld import EbaumsWorldIE
121 from .echomsk import EchoMskIE
122 from .ehow import EHowIE
123 from .eighttracks import EightTracksIE
124 from .einthusan import EinthusanIE
125 from .eitb import EitbIE
126 from .ellentv import (
130 from .elpais import ElPaisIE
131 from .embedly import EmbedlyIE
132 from .empflix import EMPFlixIE
133 from .engadget import EngadgetIE
134 from .eporner import EpornerIE
135 from .eroprofile import EroProfileIE
136 from .escapist import EscapistIE
137 from .everyonesmixtape import EveryonesMixtapeIE
138 from .exfm import ExfmIE
139 from .expotv import ExpoTVIE
140 from .extremetube import ExtremeTubeIE
141 from .facebook import FacebookIE
142 from .faz import FazIE
143 from .fc2 import FC2IE
144 from .firedrive import FiredriveIE
145 from .firstpost import FirstpostIE
146 from .firsttv import FirstTVIE
147 from .fivemin import FiveMinIE
152 from .flickr import FlickrIE
153 from .folketinget import FolketingetIE
154 from .footyroom import FootyRoomIE
155 from .fourtube import FourTubeIE
156 from .foxgay import FoxgayIE
157 from .foxnews import FoxNewsIE
158 from .franceculture import FranceCultureIE
159 from .franceinter import FranceInterIE
160 from .francetv import (
167 from .freesound import FreesoundIE
168 from .freespeech import FreespeechIE
169 from .freevideo import FreeVideoIE
170 from .funnyordie import FunnyOrDieIE
171 from .gamekings import GamekingsIE
172 from .gameone import (
176 from .gamespot import GameSpotIE
177 from .gamestar import GameStarIE
178 from .gametrailers import GametrailersIE
179 from .gazeta import GazetaIE
180 from .gdcvault import GDCVaultIE
181 from .generic import GenericIE
182 from .giantbomb import GiantBombIE
183 from .giga import GigaIE
184 from .glide import GlideIE
185 from .globo import GloboIE
186 from .godtube import GodTubeIE
187 from .goldenmoustache import GoldenMoustacheIE
188 from .golem import GolemIE
189 from .googleplus import GooglePlusIE
190 from .googlesearch import GoogleSearchIE
191 from .gorillavid import GorillaVidIE
192 from .goshgay import GoshgayIE
193 from .grooveshark import GroovesharkIE
194 from .groupon import GrouponIE
195 from .hark import HarkIE
196 from .hearthisat import HearThisAtIE
197 from .heise import HeiseIE
198 from .hellporno import HellPornoIE
199 from .helsinki import HelsinkiIE
200 from .hentaistigma import HentaiStigmaIE
201 from .historicfilms import HistoricFilmsIE
202 from .history import HistoryIE
203 from .hitbox import HitboxIE, HitboxLiveIE
204 from .hornbunny import HornBunnyIE
205 from .hostingbulk import HostingBulkIE
206 from .hotnewhiphop import HotNewHipHopIE
207 from .howcast import HowcastIE
208 from .howstuffworks import HowStuffWorksIE
209 from .huffpost import HuffPostIE
210 from .hypem import HypemIE
211 from .iconosquare import IconosquareIE
212 from .ign import IGNIE, OneUPIE
217 from .imgur import ImgurIE
218 from .ina import InaIE
219 from .infoq import InfoQIE
220 from .instagram import InstagramIE, InstagramUserIE
221 from .internetvideoarchive import InternetVideoArchiveIE
222 from .iprima import IPrimaIE
227 from .izlesene import IzleseneIE
228 from .jadorecettepub import JadoreCettePubIE
229 from .jeuxvideo import JeuxVideoIE
230 from .jove import JoveIE
231 from .jukebox import JukeboxIE
232 from .jpopsukitv import JpopsukiIE
233 from .kaltura import KalturaIE
234 from .kankan import KankanIE
235 from .karaoketv import KaraoketvIE
236 from .keezmovies import KeezMoviesIE
237 from .khanacademy import KhanAcademyIE
238 from .kickstarter import KickStarterIE
239 from .keek import KeekIE
240 from .kontrtube import KontrTubeIE
241 from .krasview import KrasViewIE
242 from .ku6 import Ku6IE
243 from .la7 import LA7IE
244 from .laola1tv import Laola1TvIE
250 from .lifenews import LifeNewsIE
251 from .liveleak import LiveLeakIE
252 from .livestream import (
254 LivestreamOriginalIE,
255 LivestreamShortenerIE,
257 from .lnkgo import LnkGoIE
258 from .lrt import LRTIE
264 from .macgamestore import MacGameStoreIE
265 from .mailru import MailRuIE
266 from .malemotion import MalemotionIE
267 from .mdr import MDRIE
268 from .metacafe import MetacafeIE
269 from .metacritic import MetacriticIE
270 from .mgoon import MgoonIE
271 from .minhateca import MinhatecaIE
272 from .ministrygrid import MinistryGridIE
273 from .mit import TechTVMITIE, MITIE, OCWMITIE
274 from .mitele import MiTeleIE
275 from .mixcloud import MixcloudIE
276 from .mlb import MLBIE
277 from .mpora import MporaIE
278 from .moevideo import MoeVideoIE
279 from .mofosex import MofosexIE
280 from .mojvideo import MojvideoIE
281 from .moniker import MonikerIE
282 from .mooshare import MooshareIE
283 from .morningstar import MorningstarIE
284 from .motherless import MotherlessIE
285 from .motorsport import MotorsportIE
286 from .movieclips import MovieClipsIE
287 from .moviezine import MoviezineIE
288 from .movshare import MovShareIE
291 MTVServicesEmbeddedIE,
294 from .muenchentv import MuenchenTVIE
295 from .musicplayon import MusicPlayOnIE
296 from .musicvault import MusicVaultIE
297 from .muzu import MuzuTVIE
298 from .myspace import MySpaceIE, MySpaceAlbumIE
299 from .myspass import MySpassIE
300 from .myvideo import MyVideoIE
301 from .myvidster import MyVidsterIE
302 from .nationalgeographic import NationalGeographicIE
303 from .naver import NaverIE
304 from .nba import NBAIE
309 from .ndr import NDRIE
310 from .ndtv import NDTVIE
311 from .netzkino import NetzkinoIE
312 from .nerdcubed import NerdCubedFeedIE
313 from .nerdist import NerdistIE
314 from .newgrounds import NewgroundsIE
315 from .newstube import NewstubeIE
316 from .nextmedia import (
318 NextMediaActionNewsIE,
319 AppleDailyRealtimeNewsIE,
320 AppleDailyAnimationNewsIE
322 from .nfb import NFBIE
323 from .nfl import NFLIE
329 from .niconico import NiconicoIE, NiconicoPlaylistIE
330 from .ninegag import NineGagIE
331 from .noco import NocoIE
332 from .normalboots import NormalbootsIE
333 from .nosvideo import NosVideoIE
334 from .novamov import NovaMovIE
335 from .nowness import NownessIE
336 from .nowvideo import NowVideoIE
348 from .ntvde import NTVDeIE
349 from .ntvru import NTVRuIE
350 from .nytimes import NYTimesIE
351 from .nuvid import NuvidIE
352 from .odnoklassniki import OdnoklassnikiIE
353 from .oktoberfesttv import OktoberfestTVIE
354 from .ooyala import OoyalaIE
355 from .openfilm import OpenFilmIE
362 from .parliamentliveuk import ParliamentLiveUKIE
363 from .patreon import PatreonIE
364 from .pbs import PBSIE
365 from .phoenix import PhoenixIE
366 from .photobucket import PhotobucketIE
367 from .planetaplay import PlanetaPlayIE
368 from .pladform import PladformIE
369 from .played import PlayedIE
370 from .playfm import PlayFMIE
371 from .playvid import PlayvidIE
372 from .playwire import PlaywireIE
373 from .podomatic import PodomaticIE
374 from .pornhd import PornHdIE
375 from .pornhub import (
379 from .pornotube import PornotubeIE
380 from .pornoxo import PornoXOIE
381 from .promptfile import PromptFileIE
382 from .prosiebensat1 import ProSiebenSat1IE
383 from .puls4 import Puls4IE
384 from .pyvideo import PyvideoIE
385 from .quickvid import QuickVidIE
387 from .radiode import RadioDeIE
388 from .radiobremen import RadioBremenIE
389 from .radiofrance import RadioFranceIE
390 from .rai import RaiIE
391 from .rbmaradio import RBMARadioIE
392 from .redtube import RedTubeIE
393 from .restudy import RestudyIE
394 from .reverbnation import ReverbNationIE
395 from .ringtv import RingTVIE
396 from .ro220 import Ro220IE
397 from .rottentomatoes import RottenTomatoesIE
398 from .roxwel import RoxwelIE
399 from .rtbf import RTBFIE
400 from .rte import RteIE
401 from .rtlnl import RtlNlIE
402 from .rtlnow import RTLnowIE
403 from .rtl2 import RTL2IE
404 from .rtp import RTPIE
405 from .rts import RTSIE
406 from .rtve import RTVEALaCartaIE, RTVELiveIE
407 from .ruhd import RUHDIE
408 from .rutube import (
415 from .rutv import RUTVIE
416 from .sandia import SandiaIE
417 from .sapo import SapoIE
418 from .savefrom import SaveFromIE
419 from .sbs import SBSIE
420 from .scivee import SciVeeIE
421 from .screencast import ScreencastIE
422 from .screencastomatic import ScreencastOMaticIE
423 from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
424 from .servingsys import ServingSysIE
425 from .sexu import SexuIE
426 from .sexykarma import SexyKarmaIE
427 from .shared import SharedIE
428 from .sharesix import ShareSixIE
429 from .sina import SinaIE
430 from .slideshare import SlideshareIE
431 from .slutload import SlutloadIE
432 from .smotri import (
438 from .snotr import SnotrIE
439 from .sockshare import SockshareIE
440 from .sohu import SohuIE
441 from .soundcloud import (
447 from .soundgasm import (
451 from .southpark import (
455 from .space import SpaceIE
456 from .spankwire import SpankwireIE
457 from .spiegel import SpiegelIE, SpiegelArticleIE
458 from .spiegeltv import SpiegeltvIE
459 from .spike import SpikeIE
460 from .sport5 import Sport5IE
461 from .sportbox import SportBoxIE
462 from .sportdeutschland import SportDeutschlandIE
463 from .srmediathek import SRMediathekIE
464 from .ssa import SSAIE
465 from .stanfordoc import StanfordOpenClassroomIE
466 from .steam import SteamIE
467 from .streamcloud import StreamcloudIE
468 from .streamcz import StreamCZIE
469 from .streetvoice import StreetVoiceIE
470 from .sunporno import SunPornoIE
471 from .svtplay import SVTPlayIE
472 from .swrmediathek import SWRMediathekIE
473 from .syfy import SyfyIE
474 from .sztvhu import SztvHuIE
475 from .tagesschau import TagesschauIE
476 from .tapely import TapelyIE
477 from .tass import TassIE
478 from .teachertube import (
482 from .teachingchannel import TeachingChannelIE
483 from .teamcoco import TeamcocoIE
484 from .techtalks import TechTalksIE
485 from .ted import TEDIE
486 from .telebruxelles import TeleBruxellesIE
487 from .telecinco import TelecincoIE
488 from .telemb import TeleMBIE
489 from .teletask import TeleTaskIE
490 from .tenplay import TenPlayIE
491 from .testurl import TestURLIE
492 from .testtube import TestTubeIE
493 from .tf1 import TF1IE
494 from .theonion import TheOnionIE
495 from .theplatform import ThePlatformIE
496 from .thesixtyone import TheSixtyOneIE
497 from .thisav import ThisAVIE
498 from .tinypic import TinyPicIE
499 from .tlc import TlcIE, TlcDeIE
500 from .tmz import TMZIE
501 from .tnaflix import TNAFlixIE
502 from .thvideo import (
506 from .toutv import TouTvIE
507 from .toypics import ToypicsUserIE, ToypicsIE
508 from .traileraddict import TrailerAddictIE
509 from .trilulilu import TriluliluIE
510 from .trutube import TruTubeIE
511 from .tube8 import Tube8IE
512 from .tudou import TudouIE
513 from .tumblr import TumblrIE
514 from .tunein import TuneInIE
515 from .turbo import TurboIE
516 from .tutv import TutvIE
517 from .tv4 import TV4IE
518 from .tvigle import TvigleIE
519 from .tvp import TvpIE, TvpSeriesIE
520 from .tvplay import TVPlayIE
521 from .tweakers import TweakersIE
522 from .twentyfourvideo import TwentyFourVideoIE
523 from .twitch import (
528 TwitchPastBroadcastsIE,
532 from .ubu import UbuIE
537 from .unistra import UnistraIE
538 from .urort import UrortIE
539 from .ustream import UstreamIE, UstreamChannelIE
540 from .vbox7 import Vbox7IE
541 from .veehd import VeeHDIE
542 from .veoh import VeohIE
543 from .vesti import VestiIE
544 from .vevo import VevoIE
545 from .vgtv import VGTVIE
546 from .vh1 import VH1IE
547 from .vice import ViceIE
548 from .viddler import ViddlerIE
549 from .videobam import VideoBamIE
550 from .videodetective import VideoDetectiveIE
551 from .videolecturesnet import VideoLecturesNetIE
552 from .videofyme import VideofyMeIE
553 from .videomega import VideoMegaIE
554 from .videopremium import VideoPremiumIE
555 from .videott import VideoTtIE
556 from .videoweed import VideoWeedIE
557 from .vidme import VidmeIE
558 from .vidzi import VidziIE
559 from .vier import VierIE, VierVideosIE
570 from .vimple import VimpleIE
575 from .viki import VikiIE
580 from .vodlocker import VodlockerIE
581 from .vporn import VpornIE
582 from .vrt import VRTIE
583 from .vube import VubeIE
584 from .vuclip import VuClipIE
585 from .vulture import VultureIE
586 from .walla import WallaIE
587 from .washingtonpost import WashingtonPostIE
588 from .wat import WatIE
589 from .wayofthemaster import WayOfTheMasterIE
595 from .webofstories import WebOfStoriesIE
596 from .weibo import WeiboIE
597 from .wimp import WimpIE
598 from .wistia import WistiaIE
599 from .worldstarhiphop import WorldStarHipHopIE
600 from .wrzuta import WrzutaIE
601 from .wsj import WSJIE
602 from .xbef import XBefIE
603 from .xboxclips import XboxClipsIE
604 from .xhamster import XHamsterIE
605 from .xminus import XMinusIE
606 from .xnxx import XNXXIE
607 from .xvideos import XVideosIE
608 from .xtube import XTubeUserIE, XTubeIE
609 from .xuite import XuiteIE
610 from .xxxymovies import XXXYMoviesIE
615 from .yam import YamIE
616 from .yandexmusic import (
619 YandexMusicPlaylistIE,
621 from .yesjapan import YesJapanIE
622 from .ynet import YnetIE
623 from .youjizz import YouJizzIE
624 from .youku import YoukuIE
625 from .youporn import YouPornIE
626 from .yourupload import YourUploadIE
627 from .youtube import (
633 YoutubeRecommendedIE,
638 YoutubeSubscriptionsIE,
639 YoutubeTruncatedIDIE,
640 YoutubeTruncatedURLIE,
644 from .zapiks import ZapiksIE
645 from .zdf import ZDFIE, ZDFChannelIE
646 from .zingmp3 import (
653 for name, klass in globals().items()
654 if name.endswith('IE') and name != 'GenericIE'
656 _ALL_CLASSES.append(GenericIE)
659 def gen_extractors():
660 """ Return a list of an instance of every supported extractor.
661 The order does matter; the first extractor matched is the one handling the URL.
663 return [klass() for klass in _ALL_CLASSES]
666 def list_extractors(age_limit):
668 Return a list of extractors that are suitable for the given age,
669 sorted by extractor ID.
673 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
674 key=lambda ie: ie.IE_NAME.lower())
677 def get_info_extractor(ie_name):
678 """Returns the info extractor class with the given ie_name"""
679 return globals()[ie_name + 'IE']