1 from __future__ import unicode_literals
4 from .abc7news import Abc7NewsIE
5 from .academicearth import AcademicEarthCourseIE
6 from .addanime import AddAnimeIE
11 from .adultswim import AdultSwimIE
12 from .aftenposten import AftenpostenIE
13 from .aftonbladet import AftonbladetIE
14 from .airmozilla import AirMozillaIE
15 from .aljazeera import AlJazeeraIE
16 from .alphaporno import AlphaPornoIE
17 from .anitube import AnitubeIE
18 from .anysex import AnySexIE
19 from .aol import AolIE
20 from .allocine import AllocineIE
21 from .aparat import AparatIE
22 from .appletrailers import AppleTrailersIE
23 from .archiveorg import ArchiveOrgIE
24 from .ard import ARDIE, ARDMediathekIE
34 from .atresplayer import AtresPlayerIE
35 from .atttechchannel import ATTTechChannelIE
36 from .audiomack import AudiomackIE, AudiomackAlbumIE
37 from .azubu import AzubuIE
38 from .baidu import BaiduVideoIE
39 from .bambuser import BambuserIE, BambuserChannelIE
40 from .bandcamp import BandcampIE, BandcampAlbumIE
41 from .bbccouk import BBCCoUkIE
42 from .beeg import BeegIE
43 from .behindkink import BehindKinkIE
44 from .beatportpro import BeatportProIE
45 from .bet import BetIE
46 from .bild import BildIE
47 from .bilibili import BiliBiliIE
48 from .blinkx import BlinkxIE
49 from .bliptv import BlipTVIE, BlipTVUserIE
50 from .bloomberg import BloombergIE
51 from .bpb import BpbIE
53 from .breakcom import BreakIE
54 from .brightcove import BrightcoveIE
55 from .buzzfeed import BuzzFeedIE
56 from .byutv import BYUtvIE
57 from .c56 import C56IE
58 from .camdemy import (
62 from .canal13cl import Canal13clIE
63 from .canalplus import CanalplusIE
64 from .canalc2 import Canalc2IE
65 from .cbs import CBSIE
66 from .cbsnews import CBSNewsIE
67 from .cbssports import CBSSportsIE
68 from .ccc import CCCIE
69 from .ceskatelevize import CeskaTelevizeIE
70 from .channel9 import Channel9IE
71 from .chilloutzone import ChilloutzoneIE
72 from .chirbit import (
76 from .cinchcast import CinchcastIE
77 from .cinemassacre import CinemassacreIE
78 from .clipfish import ClipfishIE
79 from .cliphunter import CliphunterIE
80 from .clipsyndicate import ClipsyndicateIE
81 from .cloudy import CloudyIE
82 from .clubic import ClubicIE
83 from .cmt import CMTIE
84 from .cnet import CNETIE
90 from .collegehumor import CollegeHumorIE
91 from .collegerama import CollegeRamaIE
92 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
93 from .comcarcoff import ComCarCoffIE
94 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
95 from .condenast import CondeNastIE
96 from .cracked import CrackedIE
97 from .criterion import CriterionIE
98 from .crooksandliars import CrooksAndLiarsIE
99 from .crunchyroll import (
101 CrunchyrollShowPlaylistIE
103 from .cspan import CSpanIE
104 from .ctsnews import CtsNewsIE
105 from .dailymotion import (
107 DailymotionPlaylistIE,
111 from .daum import DaumIE
112 from .dbtv import DBTVIE
113 from .dctp import DctpTvIE
114 from .deezer import DeezerPlaylistIE
115 from .dfb import DFBIE
116 from .dhm import DHMIE
117 from .dotsub import DotsubIE
118 from .douyutv import DouyuTVIE
119 from .dramafever import (
123 from .dreisat import DreiSatIE
124 from .drbonanza import DRBonanzaIE
125 from .drtuber import DrTuberIE
126 from .drtv import DRTVIE
127 from .dvtv import DVTVIE
128 from .dump import DumpIE
129 from .dumpert import DumpertIE
130 from .defense import DefenseGouvFrIE
131 from .discovery import DiscoveryIE
132 from .divxstage import DivxStageIE
133 from .dropbox import DropboxIE
134 from .eagleplatform import EaglePlatformIE
135 from .ebaumsworld import EbaumsWorldIE
136 from .echomsk import EchoMskIE
137 from .ehow import EHowIE
138 from .eighttracks import EightTracksIE
139 from .einthusan import EinthusanIE
140 from .eitb import EitbIE
141 from .ellentv import (
145 from .elpais import ElPaisIE
146 from .embedly import EmbedlyIE
147 from .empflix import EMPFlixIE
148 from .engadget import EngadgetIE
149 from .eporner import EpornerIE
150 from .eroprofile import EroProfileIE
151 from .escapist import EscapistIE
152 from .espn import ESPNIE
153 from .everyonesmixtape import EveryonesMixtapeIE
154 from .exfm import ExfmIE
155 from .expotv import ExpoTVIE
156 from .extremetube import ExtremeTubeIE
157 from .facebook import FacebookIE
158 from .faz import FazIE
159 from .fc2 import FC2IE
160 from .firstpost import FirstpostIE
161 from .firsttv import FirstTVIE
162 from .fivemin import FiveMinIE
163 from .fivetv import FiveTVIE
168 from .flickr import FlickrIE
169 from .folketinget import FolketingetIE
170 from .footyroom import FootyRoomIE
171 from .fourtube import FourTubeIE
172 from .foxgay import FoxgayIE
173 from .foxnews import FoxNewsIE
174 from .foxsports import FoxSportsIE
175 from .franceculture import FranceCultureIE
176 from .franceinter import FranceInterIE
177 from .francetv import (
184 from .freesound import FreesoundIE
185 from .freespeech import FreespeechIE
186 from .freevideo import FreeVideoIE
187 from .funnyordie import FunnyOrDieIE
188 from .gamekings import GamekingsIE
189 from .gameone import (
193 from .gamersyde import GamersydeIE
194 from .gamespot import GameSpotIE
195 from .gamestar import GameStarIE
196 from .gametrailers import GametrailersIE
197 from .gazeta import GazetaIE
198 from .gdcvault import GDCVaultIE
199 from .generic import GenericIE
200 from .gfycat import GfycatIE
201 from .giantbomb import GiantBombIE
202 from .giga import GigaIE
203 from .glide import GlideIE
204 from .globo import GloboIE
205 from .godtube import GodTubeIE
206 from .goldenmoustache import GoldenMoustacheIE
207 from .golem import GolemIE
208 from .googleplus import GooglePlusIE
209 from .googlesearch import GoogleSearchIE
210 from .gorillavid import GorillaVidIE
211 from .goshgay import GoshgayIE
212 from .groupon import GrouponIE
213 from .hark import HarkIE
214 from .hearthisat import HearThisAtIE
215 from .heise import HeiseIE
216 from .hellporno import HellPornoIE
217 from .helsinki import HelsinkiIE
218 from .hentaistigma import HentaiStigmaIE
219 from .historicfilms import HistoricFilmsIE
220 from .history import HistoryIE
221 from .hitbox import HitboxIE, HitboxLiveIE
222 from .hornbunny import HornBunnyIE
223 from .hostingbulk import HostingBulkIE
224 from .hotnewhiphop import HotNewHipHopIE
225 from .howcast import HowcastIE
226 from .howstuffworks import HowStuffWorksIE
227 from .huffpost import HuffPostIE
228 from .hypem import HypemIE
229 from .iconosquare import IconosquareIE
230 from .ign import IGNIE, OneUPIE
235 from .imgur import ImgurIE
236 from .ina import InaIE
237 from .infoq import InfoQIE
238 from .instagram import InstagramIE, InstagramUserIE
239 from .internetvideoarchive import InternetVideoArchiveIE
240 from .iprima import IPrimaIE
241 from .iqiyi import IqiyiIE
246 from .izlesene import IzleseneIE
247 from .jadorecettepub import JadoreCettePubIE
248 from .jeuxvideo import JeuxVideoIE
249 from .jove import JoveIE
250 from .jukebox import JukeboxIE
251 from .jpopsukitv import JpopsukiIE
252 from .kaltura import KalturaIE
253 from .kanalplay import KanalPlayIE
254 from .kankan import KankanIE
255 from .karaoketv import KaraoketvIE
256 from .karrierevideos import KarriereVideosIE
257 from .keezmovies import KeezMoviesIE
258 from .khanacademy import KhanAcademyIE
259 from .kickstarter import KickStarterIE
260 from .keek import KeekIE
261 from .kontrtube import KontrTubeIE
262 from .krasview import KrasViewIE
263 from .ku6 import Ku6IE
264 from .la7 import LA7IE
265 from .laola1tv import Laola1TvIE
271 from .libsyn import LibsynIE
272 from .lifenews import (
276 from .liveleak import LiveLeakIE
277 from .livestream import (
279 LivestreamOriginalIE,
280 LivestreamShortenerIE,
282 from .lnkgo import LnkGoIE
283 from .lrt import LRTIE
289 from .macgamestore import MacGameStoreIE
290 from .mailru import MailRuIE
291 from .malemotion import MalemotionIE
292 from .mdr import MDRIE
293 from .megavideoz import MegaVideozIE
294 from .metacafe import MetacafeIE
295 from .metacritic import MetacriticIE
296 from .mgoon import MgoonIE
297 from .minhateca import MinhatecaIE
298 from .ministrygrid import MinistryGridIE
299 from .miomio import MioMioIE
300 from .mit import TechTVMITIE, MITIE, OCWMITIE
301 from .mitele import MiTeleIE
302 from .mixcloud import MixcloudIE
303 from .mlb import MLBIE
304 from .mpora import MporaIE
305 from .moevideo import MoeVideoIE
306 from .mofosex import MofosexIE
307 from .mojvideo import MojvideoIE
308 from .moniker import MonikerIE
309 from .mooshare import MooshareIE
310 from .morningstar import MorningstarIE
311 from .motherless import MotherlessIE
312 from .motorsport import MotorsportIE
313 from .movieclips import MovieClipsIE
314 from .moviezine import MoviezineIE
315 from .movshare import MovShareIE
318 MTVServicesEmbeddedIE,
321 from .muenchentv import MuenchenTVIE
322 from .musicplayon import MusicPlayOnIE
323 from .musicvault import MusicVaultIE
324 from .muzu import MuzuTVIE
325 from .myspace import MySpaceIE, MySpaceAlbumIE
326 from .myspass import MySpassIE
327 from .myvideo import MyVideoIE
328 from .myvidster import MyVidsterIE
329 from .nationalgeographic import NationalGeographicIE
330 from .naver import NaverIE
331 from .nba import NBAIE
342 from .ndtv import NDTVIE
343 from .netzkino import NetzkinoIE
344 from .nerdcubed import NerdCubedFeedIE
345 from .nerdist import NerdistIE
346 from .newgrounds import NewgroundsIE
347 from .newstube import NewstubeIE
348 from .nextmedia import (
350 NextMediaActionNewsIE,
353 from .nfb import NFBIE
354 from .nfl import NFLIE
360 from .niconico import NiconicoIE, NiconicoPlaylistIE
361 from .ninegag import NineGagIE
362 from .noco import NocoIE
363 from .normalboots import NormalbootsIE
364 from .nosvideo import NosVideoIE
365 from .nova import NovaIE
366 from .novamov import NovaMovIE
367 from .nowness import NownessIE
368 from .nowtv import NowTVIE
369 from .nowvideo import NowVideoIE
382 from .ntvde import NTVDeIE
383 from .ntvru import NTVRuIE
384 from .nytimes import (
388 from .nuvid import NuvidIE
389 from .odnoklassniki import OdnoklassnikiIE
390 from .oktoberfesttv import OktoberfestTVIE
391 from .ooyala import (
395 from .openfilm import OpenFilmIE
402 from .parliamentliveuk import ParliamentLiveUKIE
403 from .patreon import PatreonIE
404 from .pbs import PBSIE
405 from .philharmoniedeparis import PhilharmonieDeParisIE
406 from .phoenix import PhoenixIE
407 from .photobucket import PhotobucketIE
408 from .pinkbike import PinkbikeIE
409 from .planetaplay import PlanetaPlayIE
410 from .pladform import PladformIE
411 from .played import PlayedIE
412 from .playfm import PlayFMIE
413 from .playvid import PlayvidIE
414 from .playwire import PlaywireIE
415 from .podomatic import PodomaticIE
416 from .porn91 import Porn91IE
417 from .pornhd import PornHdIE
418 from .pornhub import (
422 from .pornotube import PornotubeIE
423 from .pornovoisines import PornoVoisinesIE
424 from .pornoxo import PornoXOIE
425 from .primesharetv import PrimeShareTVIE
426 from .promptfile import PromptFileIE
427 from .prosiebensat1 import ProSiebenSat1IE
428 from .puls4 import Puls4IE
429 from .pyvideo import PyvideoIE
430 from .qqmusic import (
436 from .quickvid import QuickVidIE
438 from .radiode import RadioDeIE
439 from .radiojavan import RadioJavanIE
440 from .radiobremen import RadioBremenIE
441 from .radiofrance import RadioFranceIE
442 from .rai import RaiIE
443 from .rbmaradio import RBMARadioIE
444 from .redtube import RedTubeIE
445 from .restudy import RestudyIE
446 from .reverbnation import ReverbNationIE
447 from .ringtv import RingTVIE
448 from .ro220 import Ro220IE
449 from .rottentomatoes import RottenTomatoesIE
450 from .roxwel import RoxwelIE
451 from .rtbf import RTBFIE
452 from .rte import RteIE
453 from .rtlnl import RtlNlIE
454 from .rtl2 import RTL2IE
455 from .rtp import RTPIE
456 from .rts import RTSIE
457 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
458 from .ruhd import RUHDIE
459 from .rutube import (
466 from .rutv import RUTVIE
467 from .ruutu import RuutuIE
468 from .sandia import SandiaIE
469 from .safari import (
473 from .sapo import SapoIE
474 from .savefrom import SaveFromIE
475 from .sbs import SBSIE
476 from .scivee import SciVeeIE
477 from .screencast import ScreencastIE
478 from .screencastomatic import ScreencastOMaticIE
479 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
480 from .senateisvp import SenateISVPIE
481 from .servingsys import ServingSysIE
482 from .sexu import SexuIE
483 from .sexykarma import SexyKarmaIE
484 from .shared import SharedIE
485 from .sharesix import ShareSixIE
486 from .sina import SinaIE
487 from .slideshare import SlideshareIE
488 from .slutload import SlutloadIE
489 from .smotri import (
495 from .snotr import SnotrIE
496 from .sohu import SohuIE
497 from .soompi import (
501 from .soundcloud import (
507 from .soundgasm import (
511 from .southpark import (
518 from .space import SpaceIE
519 from .spankbang import SpankBangIE
520 from .spankwire import SpankwireIE
521 from .spiegel import SpiegelIE, SpiegelArticleIE
522 from .spiegeltv import SpiegeltvIE
523 from .spike import SpikeIE
524 from .sport5 import Sport5IE
525 from .sportbox import (
529 from .sportdeutschland import SportDeutschlandIE
530 from .srf import SrfIE
531 from .srmediathek import SRMediathekIE
532 from .ssa import SSAIE
533 from .stanfordoc import StanfordOpenClassroomIE
534 from .steam import SteamIE
535 from .streamcloud import StreamcloudIE
536 from .streamcz import StreamCZIE
537 from .streetvoice import StreetVoiceIE
538 from .sunporno import SunPornoIE
543 from .swrmediathek import SWRMediathekIE
544 from .syfy import SyfyIE
545 from .sztvhu import SztvHuIE
546 from .tagesschau import TagesschauIE
547 from .tapely import TapelyIE
548 from .tass import TassIE
549 from .teachertube import (
553 from .teachingchannel import TeachingChannelIE
554 from .teamcoco import TeamcocoIE
555 from .techtalks import TechTalksIE
556 from .ted import TEDIE
557 from .telebruxelles import TeleBruxellesIE
558 from .telecinco import TelecincoIE
559 from .telemb import TeleMBIE
560 from .teletask import TeleTaskIE
561 from .tenplay import TenPlayIE
562 from .testurl import TestURLIE
563 from .testtube import TestTubeIE
564 from .tf1 import TF1IE
565 from .theonion import TheOnionIE
566 from .theplatform import ThePlatformIE
567 from .thesixtyone import TheSixtyOneIE
568 from .thisav import ThisAVIE
569 from .tinypic import TinyPicIE
570 from .tlc import TlcIE, TlcDeIE
575 from .tnaflix import TNAFlixIE
576 from .thvideo import (
580 from .toutv import TouTvIE
581 from .toypics import ToypicsUserIE, ToypicsIE
582 from .traileraddict import TrailerAddictIE
583 from .trilulilu import TriluliluIE
584 from .trutube import TruTubeIE
585 from .tube8 import Tube8IE
586 from .tubitv import TubiTvIE
587 from .tudou import TudouIE
588 from .tumblr import TumblrIE
589 from .tunein import TuneInIE
590 from .turbo import TurboIE
591 from .tutv import TutvIE
596 from .tv4 import TV4IE
601 from .tvigle import TvigleIE
602 from .tvp import TvpIE, TvpSeriesIE
603 from .tvplay import TVPlayIE
604 from .tweakers import TweakersIE
605 from .twentyfourvideo import TwentyFourVideoIE
606 from .twentytwotracks import (
608 TwentyTwoTracksGenreIE
610 from .twitch import (
615 TwitchPastBroadcastsIE,
619 from .ubu import UbuIE
624 from .udn import UDNEmbedIE
625 from .ultimedia import UltimediaIE
626 from .unistra import UnistraIE
627 from .urort import UrortIE
628 from .ustream import UstreamIE, UstreamChannelIE
629 from .varzesh3 import Varzesh3IE
630 from .vbox7 import Vbox7IE
631 from .veehd import VeeHDIE
632 from .veoh import VeohIE
633 from .vessel import VesselIE
634 from .vesti import VestiIE
635 from .vevo import VevoIE
641 from .vh1 import VH1IE
642 from .vice import ViceIE
643 from .viddler import ViddlerIE
644 from .videobam import VideoBamIE
645 from .videodetective import VideoDetectiveIE
646 from .videolecturesnet import VideoLecturesNetIE
647 from .videofyme import VideofyMeIE
648 from .videomega import VideoMegaIE
649 from .videopremium import VideoPremiumIE
650 from .videott import VideoTtIE
651 from .videoweed import VideoWeedIE
652 from .vidme import VidmeIE
653 from .vidzi import VidziIE
654 from .vier import VierIE, VierVideosIE
655 from .viewster import ViewsterIE
666 from .vimple import VimpleIE
679 from .vodlocker import VodlockerIE
680 from .voicerepublic import VoiceRepublicIE
681 from .vporn import VpornIE
682 from .vrt import VRTIE
683 from .vube import VubeIE
684 from .vuclip import VuClipIE
685 from .vulture import VultureIE
686 from .walla import WallaIE
687 from .washingtonpost import WashingtonPostIE
688 from .wat import WatIE
689 from .wayofthemaster import WayOfTheMasterIE
695 from .webofstories import WebOfStoriesIE
696 from .weibo import WeiboIE
697 from .wimp import WimpIE
698 from .wistia import WistiaIE
699 from .worldstarhiphop import WorldStarHipHopIE
700 from .wrzuta import WrzutaIE
701 from .wsj import WSJIE
702 from .xbef import XBefIE
703 from .xboxclips import XboxClipsIE
704 from .xhamster import (
708 from .xminus import XMinusIE
709 from .xnxx import XNXXIE
710 from .xstream import XstreamIE
711 from .xtube import XTubeUserIE, XTubeIE
712 from .xuite import XuiteIE
713 from .xvideos import XVideosIE
714 from .xxxymovies import XXXYMoviesIE
719 from .yam import YamIE
720 from .yandexmusic import (
723 YandexMusicPlaylistIE,
725 from .yesjapan import YesJapanIE
726 from .ynet import YnetIE
727 from .youjizz import YouJizzIE
728 from .youku import YoukuIE
729 from .youporn import YouPornIE
730 from .yourupload import YourUploadIE
731 from .youtube import (
737 YoutubeRecommendedIE,
742 YoutubeSubscriptionsIE,
743 YoutubeTruncatedIDIE,
744 YoutubeTruncatedURLIE,
748 from .zapiks import ZapiksIE
749 from .zdf import ZDFIE, ZDFChannelIE
750 from .zingmp3 import (
757 for name, klass in globals().items()
758 if name.endswith('IE') and name != 'GenericIE'
760 _ALL_CLASSES.append(GenericIE)
763 def gen_extractors():
764 """ Return a list of an instance of every supported extractor.
765 The order does matter; the first extractor matched is the one handling the URL.
767 return [klass() for klass in _ALL_CLASSES]
770 def list_extractors(age_limit):
772 Return a list of extractors that are suitable for the given age,
773 sorted by extractor ID.
777 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
778 key=lambda ie: ie.IE_NAME.lower())
781 def get_info_extractor(ie_name):
782 """Returns the info extractor class with the given ie_name"""
783 return globals()[ie_name + 'IE']