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 .baidu import BaiduVideoIE
36 from .bambuser import BambuserIE, BambuserChannelIE
37 from .bandcamp import BandcampIE, BandcampAlbumIE
38 from .bbccouk import BBCCoUkIE
39 from .beeg import BeegIE
40 from .behindkink import BehindKinkIE
41 from .beatportpro import BeatportProIE
42 from .bet import BetIE
43 from .bild import BildIE
44 from .bilibili import BiliBiliIE
45 from .blinkx import BlinkxIE
46 from .bliptv import BlipTVIE, BlipTVUserIE
47 from .bloomberg import BloombergIE
48 from .bpb import BpbIE
50 from .breakcom import BreakIE
51 from .brightcove import BrightcoveIE
52 from .buzzfeed import BuzzFeedIE
53 from .byutv import BYUtvIE
54 from .c56 import C56IE
55 from .camdemy import (
59 from .canal13cl import Canal13clIE
60 from .canalplus import CanalplusIE
61 from .canalc2 import Canalc2IE
62 from .cbs import CBSIE
63 from .cbsnews import CBSNewsIE
64 from .cbssports import CBSSportsIE
65 from .ccc import CCCIE
66 from .ceskatelevize import CeskaTelevizeIE
67 from .channel9 import Channel9IE
68 from .chilloutzone import ChilloutzoneIE
69 from .chirbit import (
73 from .cinchcast import CinchcastIE
74 from .cinemassacre import CinemassacreIE
75 from .clipfish import ClipfishIE
76 from .cliphunter import CliphunterIE
77 from .clipsyndicate import ClipsyndicateIE
78 from .cloudy import CloudyIE
79 from .clubic import ClubicIE
80 from .cmt import CMTIE
81 from .cnet import CNETIE
87 from .collegehumor import CollegeHumorIE
88 from .collegerama import CollegeRamaIE
89 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
90 from .comcarcoff import ComCarCoffIE
91 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
92 from .condenast import CondeNastIE
93 from .cracked import CrackedIE
94 from .criterion import CriterionIE
95 from .crooksandliars import CrooksAndLiarsIE
96 from .crunchyroll import (
98 CrunchyrollShowPlaylistIE
100 from .cspan import CSpanIE
101 from .ctsnews import CtsNewsIE
102 from .dailymotion import (
104 DailymotionPlaylistIE,
107 from .daum import DaumIE
108 from .dbtv import DBTVIE
109 from .dctp import DctpTvIE
110 from .deezer import DeezerPlaylistIE
111 from .dfb import DFBIE
112 from .dhm import DHMIE
113 from .dotsub import DotsubIE
114 from .douyutv import DouyuTVIE
115 from .dreisat import DreiSatIE
116 from .drbonanza import DRBonanzaIE
117 from .drtuber import DrTuberIE
118 from .drtv import DRTVIE
119 from .dvtv import DVTVIE
120 from .dump import DumpIE
121 from .dumpert import DumpertIE
122 from .defense import DefenseGouvFrIE
123 from .discovery import DiscoveryIE
124 from .divxstage import DivxStageIE
125 from .dropbox import DropboxIE
126 from .eagleplatform import EaglePlatformIE
127 from .ebaumsworld import EbaumsWorldIE
128 from .echomsk import EchoMskIE
129 from .ehow import EHowIE
130 from .eighttracks import EightTracksIE
131 from .einthusan import EinthusanIE
132 from .eitb import EitbIE
133 from .ellentv import (
137 from .elpais import ElPaisIE
138 from .embedly import EmbedlyIE
139 from .empflix import EMPFlixIE
140 from .engadget import EngadgetIE
141 from .eporner import EpornerIE
142 from .eroprofile import EroProfileIE
143 from .escapist import EscapistIE
144 from .espn import ESPNIE
145 from .everyonesmixtape import EveryonesMixtapeIE
146 from .exfm import ExfmIE
147 from .expotv import ExpoTVIE
148 from .extremetube import ExtremeTubeIE
149 from .facebook import FacebookIE
150 from .faz import FazIE
151 from .fc2 import FC2IE
152 from .firstpost import FirstpostIE
153 from .firsttv import FirstTVIE
154 from .fivemin import FiveMinIE
159 from .flickr import FlickrIE
160 from .folketinget import FolketingetIE
161 from .footyroom import FootyRoomIE
162 from .fourtube import FourTubeIE
163 from .foxgay import FoxgayIE
164 from .foxnews import FoxNewsIE
165 from .foxsports import FoxSportsIE
166 from .franceculture import FranceCultureIE
167 from .franceinter import FranceInterIE
168 from .francetv import (
175 from .freesound import FreesoundIE
176 from .freespeech import FreespeechIE
177 from .freevideo import FreeVideoIE
178 from .funnyordie import FunnyOrDieIE
179 from .gamekings import GamekingsIE
180 from .gameone import (
184 from .gamersyde import GamersydeIE
185 from .gamespot import GameSpotIE
186 from .gamestar import GameStarIE
187 from .gametrailers import GametrailersIE
188 from .gazeta import GazetaIE
189 from .gdcvault import GDCVaultIE
190 from .generic import GenericIE
191 from .gfycat import GfycatIE
192 from .giantbomb import GiantBombIE
193 from .giga import GigaIE
194 from .glide import GlideIE
195 from .globo import GloboIE
196 from .godtube import GodTubeIE
197 from .goldenmoustache import GoldenMoustacheIE
198 from .golem import GolemIE
199 from .googleplus import GooglePlusIE
200 from .googlesearch import GoogleSearchIE
201 from .gorillavid import GorillaVidIE
202 from .goshgay import GoshgayIE
203 from .groupon import GrouponIE
204 from .hark import HarkIE
205 from .hearthisat import HearThisAtIE
206 from .heise import HeiseIE
207 from .hellporno import HellPornoIE
208 from .helsinki import HelsinkiIE
209 from .hentaistigma import HentaiStigmaIE
210 from .historicfilms import HistoricFilmsIE
211 from .history import HistoryIE
212 from .hitbox import HitboxIE, HitboxLiveIE
213 from .hornbunny import HornBunnyIE
214 from .hostingbulk import HostingBulkIE
215 from .hotnewhiphop import HotNewHipHopIE
216 from .howcast import HowcastIE
217 from .howstuffworks import HowStuffWorksIE
218 from .huffpost import HuffPostIE
219 from .hypem import HypemIE
220 from .iconosquare import IconosquareIE
221 from .ign import IGNIE, OneUPIE
226 from .imgur import ImgurIE
227 from .ina import InaIE
228 from .infoq import InfoQIE
229 from .instagram import InstagramIE, InstagramUserIE
230 from .internetvideoarchive import InternetVideoArchiveIE
231 from .iprima import IPrimaIE
236 from .izlesene import IzleseneIE
237 from .jadorecettepub import JadoreCettePubIE
238 from .jeuxvideo import JeuxVideoIE
239 from .jove import JoveIE
240 from .jukebox import JukeboxIE
241 from .jpopsukitv import JpopsukiIE
242 from .kaltura import KalturaIE
243 from .kanalplay import KanalPlayIE
244 from .kankan import KankanIE
245 from .karaoketv import KaraoketvIE
246 from .karrierevideos import KarriereVideosIE
247 from .keezmovies import KeezMoviesIE
248 from .khanacademy import KhanAcademyIE
249 from .kickstarter import KickStarterIE
250 from .keek import KeekIE
251 from .kontrtube import KontrTubeIE
252 from .krasview import KrasViewIE
253 from .ku6 import Ku6IE
254 from .la7 import LA7IE
255 from .laola1tv import Laola1TvIE
261 from .libsyn import LibsynIE
262 from .lifenews import (
266 from .liveleak import LiveLeakIE
267 from .livestream import (
269 LivestreamOriginalIE,
270 LivestreamShortenerIE,
272 from .lnkgo import LnkGoIE
273 from .lrt import LRTIE
279 from .macgamestore import MacGameStoreIE
280 from .mailru import MailRuIE
281 from .malemotion import MalemotionIE
282 from .mdr import MDRIE
283 from .megavideoz import MegaVideozIE
284 from .metacafe import MetacafeIE
285 from .metacritic import MetacriticIE
286 from .mgoon import MgoonIE
287 from .minhateca import MinhatecaIE
288 from .ministrygrid import MinistryGridIE
289 from .miomio import MioMioIE
290 from .mit import TechTVMITIE, MITIE, OCWMITIE
291 from .mitele import MiTeleIE
292 from .mixcloud import MixcloudIE
293 from .mlb import MLBIE
294 from .mpora import MporaIE
295 from .moevideo import MoeVideoIE
296 from .mofosex import MofosexIE
297 from .mojvideo import MojvideoIE
298 from .moniker import MonikerIE
299 from .mooshare import MooshareIE
300 from .morningstar import MorningstarIE
301 from .motherless import MotherlessIE
302 from .motorsport import MotorsportIE
303 from .movieclips import MovieClipsIE
304 from .moviezine import MoviezineIE
305 from .movshare import MovShareIE
308 MTVServicesEmbeddedIE,
311 from .muenchentv import MuenchenTVIE
312 from .musicplayon import MusicPlayOnIE
313 from .musicvault import MusicVaultIE
314 from .muzu import MuzuTVIE
315 from .myspace import MySpaceIE, MySpaceAlbumIE
316 from .myspass import MySpassIE
317 from .myvideo import MyVideoIE
318 from .myvidster import MyVidsterIE
319 from .nationalgeographic import NationalGeographicIE
320 from .naver import NaverIE
321 from .nba import NBAIE
332 from .ndtv import NDTVIE
333 from .netzkino import NetzkinoIE
334 from .nerdcubed import NerdCubedFeedIE
335 from .nerdist import NerdistIE
336 from .newgrounds import NewgroundsIE
337 from .newstube import NewstubeIE
338 from .nextmedia import (
340 NextMediaActionNewsIE,
343 from .nfb import NFBIE
344 from .nfl import NFLIE
350 from .niconico import NiconicoIE, NiconicoPlaylistIE
351 from .ninegag import NineGagIE
352 from .noco import NocoIE
353 from .normalboots import NormalbootsIE
354 from .nosvideo import NosVideoIE
355 from .novamov import NovaMovIE
356 from .nowness import NownessIE
357 from .nowvideo import NowVideoIE
370 from .ntvde import NTVDeIE
371 from .ntvru import NTVRuIE
372 from .nytimes import (
376 from .nuvid import NuvidIE
377 from .odnoklassniki import OdnoklassnikiIE
378 from .oktoberfesttv import OktoberfestTVIE
379 from .ooyala import (
383 from .openfilm import OpenFilmIE
390 from .parliamentliveuk import ParliamentLiveUKIE
391 from .patreon import PatreonIE
392 from .pbs import PBSIE
393 from .philharmoniedeparis import PhilharmonieDeParisIE
394 from .phoenix import PhoenixIE
395 from .photobucket import PhotobucketIE
396 from .planetaplay import PlanetaPlayIE
397 from .pladform import PladformIE
398 from .played import PlayedIE
399 from .playfm import PlayFMIE
400 from .playvid import PlayvidIE
401 from .playwire import PlaywireIE
402 from .podomatic import PodomaticIE
403 from .pornhd import PornHdIE
404 from .pornhub import (
408 from .pornotube import PornotubeIE
409 from .pornovoisines import PornoVoisinesIE
410 from .pornoxo import PornoXOIE
411 from .primesharetv import PrimeShareTVIE
412 from .promptfile import PromptFileIE
413 from .prosiebensat1 import ProSiebenSat1IE
414 from .puls4 import Puls4IE
415 from .pyvideo import PyvideoIE
416 from .qqmusic import (
422 from .quickvid import QuickVidIE
424 from .radiode import RadioDeIE
425 from .radiojavan import RadioJavanIE
426 from .radiobremen import RadioBremenIE
427 from .radiofrance import RadioFranceIE
428 from .rai import RaiIE
429 from .rbmaradio import RBMARadioIE
430 from .redtube import RedTubeIE
431 from .restudy import RestudyIE
432 from .reverbnation import ReverbNationIE
433 from .ringtv import RingTVIE
434 from .ro220 import Ro220IE
435 from .rottentomatoes import RottenTomatoesIE
436 from .roxwel import RoxwelIE
437 from .rtbf import RTBFIE
438 from .rte import RteIE
439 from .rtlnl import RtlNlIE
440 from .rtlnow import RTLnowIE
441 from .rtl2 import RTL2IE
442 from .rtp import RTPIE
443 from .rts import RTSIE
444 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
445 from .ruhd import RUHDIE
446 from .rutube import (
453 from .rutv import RUTVIE
454 from .sandia import SandiaIE
455 from .safari import (
459 from .sapo import SapoIE
460 from .savefrom import SaveFromIE
461 from .sbs import SBSIE
462 from .scivee import SciVeeIE
463 from .screencast import ScreencastIE
464 from .screencastomatic import ScreencastOMaticIE
465 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
466 from .senateisvp import SenateISVPIE
467 from .servingsys import ServingSysIE
468 from .sexu import SexuIE
469 from .sexykarma import SexyKarmaIE
470 from .shared import SharedIE
471 from .sharesix import ShareSixIE
472 from .sina import SinaIE
473 from .slideshare import SlideshareIE
474 from .slutload import SlutloadIE
475 from .smotri import (
481 from .snotr import SnotrIE
482 from .sohu import SohuIE
483 from .soundcloud import (
489 from .soundgasm import (
493 from .southpark import (
500 from .space import SpaceIE
501 from .spankbang import SpankBangIE
502 from .spankwire import SpankwireIE
503 from .spiegel import SpiegelIE, SpiegelArticleIE
504 from .spiegeltv import SpiegeltvIE
505 from .spike import SpikeIE
506 from .sport5 import Sport5IE
507 from .sportbox import (
511 from .sportdeutschland import SportDeutschlandIE
512 from .srf import SrfIE
513 from .srmediathek import SRMediathekIE
514 from .ssa import SSAIE
515 from .stanfordoc import StanfordOpenClassroomIE
516 from .steam import SteamIE
517 from .streamcloud import StreamcloudIE
518 from .streamcz import StreamCZIE
519 from .streetvoice import StreetVoiceIE
520 from .sunporno import SunPornoIE
525 from .swrmediathek import SWRMediathekIE
526 from .syfy import SyfyIE
527 from .sztvhu import SztvHuIE
528 from .tagesschau import TagesschauIE
529 from .tapely import TapelyIE
530 from .tass import TassIE
531 from .teachertube import (
535 from .teachingchannel import TeachingChannelIE
536 from .teamcoco import TeamcocoIE
537 from .techtalks import TechTalksIE
538 from .ted import TEDIE
539 from .telebruxelles import TeleBruxellesIE
540 from .telecinco import TelecincoIE
541 from .telemb import TeleMBIE
542 from .teletask import TeleTaskIE
543 from .tenplay import TenPlayIE
544 from .testurl import TestURLIE
545 from .testtube import TestTubeIE
546 from .tf1 import TF1IE
547 from .theonion import TheOnionIE
548 from .theplatform import ThePlatformIE
549 from .thesixtyone import TheSixtyOneIE
550 from .thisav import ThisAVIE
551 from .tinypic import TinyPicIE
552 from .tlc import TlcIE, TlcDeIE
557 from .tnaflix import TNAFlixIE
558 from .thvideo import (
562 from .toutv import TouTvIE
563 from .toypics import ToypicsUserIE, ToypicsIE
564 from .traileraddict import TrailerAddictIE
565 from .trilulilu import TriluliluIE
566 from .trutube import TruTubeIE
567 from .tube8 import Tube8IE
568 from .tudou import TudouIE
569 from .tumblr import TumblrIE
570 from .tunein import TuneInIE
571 from .turbo import TurboIE
572 from .tutv import TutvIE
577 from .tv4 import TV4IE
578 from .tvigle import TvigleIE
579 from .tvp import TvpIE, TvpSeriesIE
580 from .tvplay import TVPlayIE
581 from .tweakers import TweakersIE
582 from .twentyfourvideo import TwentyFourVideoIE
583 from .twentytwotracks import (
585 TwentyTwoTracksGenreIE
587 from .twitch import (
592 TwitchPastBroadcastsIE,
596 from .ubu import UbuIE
601 from .udn import UDNEmbedIE
602 from .ultimedia import UltimediaIE
603 from .unistra import UnistraIE
604 from .urort import UrortIE
605 from .ustream import UstreamIE, UstreamChannelIE
606 from .varzesh3 import Varzesh3IE
607 from .vbox7 import Vbox7IE
608 from .veehd import VeeHDIE
609 from .veoh import VeohIE
610 from .vessel import VesselIE
611 from .vesti import VestiIE
612 from .vevo import VevoIE
618 from .vh1 import VH1IE
619 from .vice import ViceIE
620 from .viddler import ViddlerIE
621 from .videobam import VideoBamIE
622 from .videodetective import VideoDetectiveIE
623 from .videolecturesnet import VideoLecturesNetIE
624 from .videofyme import VideofyMeIE
625 from .videomega import VideoMegaIE
626 from .videopremium import VideoPremiumIE
627 from .videott import VideoTtIE
628 from .videoweed import VideoWeedIE
629 from .vidme import VidmeIE
630 from .vidzi import VidziIE
631 from .vier import VierIE, VierVideosIE
632 from .viewster import ViewsterIE
643 from .vimple import VimpleIE
656 from .vodlocker import VodlockerIE
657 from .voicerepublic import VoiceRepublicIE
658 from .vporn import VpornIE
659 from .vrt import VRTIE
660 from .vube import VubeIE
661 from .vuclip import VuClipIE
662 from .vulture import VultureIE
663 from .walla import WallaIE
664 from .washingtonpost import WashingtonPostIE
665 from .wat import WatIE
666 from .wayofthemaster import WayOfTheMasterIE
672 from .webofstories import WebOfStoriesIE
673 from .weibo import WeiboIE
674 from .wimp import WimpIE
675 from .wistia import WistiaIE
676 from .worldstarhiphop import WorldStarHipHopIE
677 from .wrzuta import WrzutaIE
678 from .wsj import WSJIE
679 from .xbef import XBefIE
680 from .xboxclips import XboxClipsIE
681 from .xhamster import XHamsterIE
682 from .xminus import XMinusIE
683 from .xnxx import XNXXIE
684 from .xstream import XstreamIE
685 from .xtube import XTubeUserIE, XTubeIE
686 from .xuite import XuiteIE
687 from .xvideos import XVideosIE
688 from .xxxymovies import XXXYMoviesIE
693 from .yam import YamIE
694 from .yandexmusic import (
697 YandexMusicPlaylistIE,
699 from .yesjapan import YesJapanIE
700 from .ynet import YnetIE
701 from .youjizz import YouJizzIE
702 from .youku import YoukuIE
703 from .youporn import YouPornIE
704 from .yourupload import YourUploadIE
705 from .youtube import (
711 YoutubeRecommendedIE,
716 YoutubeSubscriptionsIE,
717 YoutubeTruncatedIDIE,
718 YoutubeTruncatedURLIE,
722 from .zapiks import ZapiksIE
723 from .zdf import ZDFIE, ZDFChannelIE
724 from .zingmp3 import (
731 for name, klass in globals().items()
732 if name.endswith('IE') and name != 'GenericIE'
734 _ALL_CLASSES.append(GenericIE)
737 def gen_extractors():
738 """ Return a list of an instance of every supported extractor.
739 The order does matter; the first extractor matched is the one handling the URL.
741 return [klass() for klass in _ALL_CLASSES]
744 def list_extractors(age_limit):
746 Return a list of extractors that are suitable for the given age,
747 sorted by extractor ID.
751 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
752 key=lambda ie: ie.IE_NAME.lower())
755 def get_info_extractor(ie_name):
756 """Returns the info extractor class with the given ie_name"""
757 return globals()[ie_name + 'IE']