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 .appleconnect import AppleConnectIE
23 from .appletrailers import AppleTrailersIE
24 from .archiveorg import ArchiveOrgIE
39 from .atresplayer import AtresPlayerIE
40 from .atttechchannel import ATTTechChannelIE
41 from .audiomack import AudiomackIE, AudiomackAlbumIE
42 from .azubu import AzubuIE
43 from .baidu import BaiduVideoIE
44 from .bambuser import BambuserIE, BambuserChannelIE
45 from .bandcamp import BandcampIE, BandcampAlbumIE
50 from .beeg import BeegIE
51 from .behindkink import BehindKinkIE
52 from .beatportpro import BeatportProIE
53 from .bet import BetIE
54 from .bild import BildIE
55 from .bilibili import BiliBiliIE
56 from .blinkx import BlinkxIE
57 from .bliptv import BlipTVIE, BlipTVUserIE
58 from .bloomberg import BloombergIE
59 from .bpb import BpbIE
61 from .breakcom import BreakIE
62 from .brightcove import BrightcoveIE
63 from .buzzfeed import BuzzFeedIE
64 from .byutv import BYUtvIE
65 from .c56 import C56IE
66 from .camdemy import (
70 from .canal13cl import Canal13clIE
71 from .canalplus import CanalplusIE
72 from .canalc2 import Canalc2IE
73 from .cbs import CBSIE
74 from .cbsnews import CBSNewsIE
75 from .cbssports import CBSSportsIE
76 from .ccc import CCCIE
77 from .ceskatelevize import CeskaTelevizeIE
78 from .channel9 import Channel9IE
79 from .chilloutzone import ChilloutzoneIE
80 from .chirbit import (
84 from .cinchcast import CinchcastIE
85 from .cinemassacre import CinemassacreIE
86 from .clipfish import ClipfishIE
87 from .cliphunter import CliphunterIE
88 from .clipsyndicate import ClipsyndicateIE
89 from .cloudy import CloudyIE
90 from .clubic import ClubicIE
91 from .cmt import CMTIE
92 from .cnet import CNETIE
98 from .collegehumor import CollegeHumorIE
99 from .collegerama import CollegeRamaIE
100 from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
101 from .comcarcoff import ComCarCoffIE
102 from .commonmistakes import CommonMistakesIE, UnicodeBOMIE
103 from .condenast import CondeNastIE
104 from .cracked import CrackedIE
105 from .criterion import CriterionIE
106 from .crooksandliars import CrooksAndLiarsIE
107 from .crunchyroll import (
109 CrunchyrollShowPlaylistIE
111 from .cspan import CSpanIE
112 from .ctsnews import CtsNewsIE
113 from .dailymotion import (
115 DailymotionPlaylistIE,
119 from .daum import DaumIE
120 from .dbtv import DBTVIE
121 from .dcn import DCNIE
122 from .dctp import DctpTvIE
123 from .deezer import DeezerPlaylistIE
124 from .dfb import DFBIE
125 from .dhm import DHMIE
126 from .dotsub import DotsubIE
127 from .douyutv import DouyuTVIE
128 from .dramafever import (
132 from .dreisat import DreiSatIE
133 from .drbonanza import DRBonanzaIE
134 from .drtuber import DrTuberIE
135 from .drtv import DRTVIE
136 from .dvtv import DVTVIE
137 from .dump import DumpIE
138 from .dumpert import DumpertIE
139 from .defense import DefenseGouvFrIE
140 from .discovery import DiscoveryIE
141 from .divxstage import DivxStageIE
142 from .dropbox import DropboxIE
143 from .eagleplatform import EaglePlatformIE
144 from .ebaumsworld import EbaumsWorldIE
145 from .echomsk import EchoMskIE
146 from .ehow import EHowIE
147 from .eighttracks import EightTracksIE
148 from .einthusan import EinthusanIE
149 from .eitb import EitbIE
150 from .ellentv import (
154 from .elpais import ElPaisIE
155 from .embedly import EmbedlyIE
156 from .engadget import EngadgetIE
157 from .eporner import EpornerIE
158 from .eroprofile import EroProfileIE
159 from .escapist import EscapistIE
160 from .espn import ESPNIE
161 from .esri import EsriVideoIE
162 from .everyonesmixtape import EveryonesMixtapeIE
163 from .exfm import ExfmIE
164 from .expotv import ExpoTVIE
165 from .extremetube import ExtremeTubeIE
166 from .facebook import FacebookIE
167 from .faz import FazIE
168 from .fc2 import FC2IE
169 from .firstpost import FirstpostIE
170 from .firsttv import FirstTVIE
171 from .fivemin import FiveMinIE
172 from .fivetv import FiveTVIE
177 from .flickr import FlickrIE
178 from .folketinget import FolketingetIE
179 from .footyroom import FootyRoomIE
180 from .fourtube import FourTubeIE
181 from .foxgay import FoxgayIE
182 from .foxnews import FoxNewsIE
183 from .foxsports import FoxSportsIE
184 from .franceculture import FranceCultureIE
185 from .franceinter import FranceInterIE
186 from .francetv import (
193 from .freesound import FreesoundIE
194 from .freespeech import FreespeechIE
195 from .freevideo import FreeVideoIE
196 from .funnyordie import FunnyOrDieIE
197 from .gamekings import GamekingsIE
198 from .gameone import (
202 from .gamersyde import GamersydeIE
203 from .gamespot import GameSpotIE
204 from .gamestar import GameStarIE
205 from .gametrailers import GametrailersIE
206 from .gazeta import GazetaIE
207 from .gdcvault import GDCVaultIE
208 from .generic import GenericIE
209 from .gfycat import GfycatIE
210 from .giantbomb import GiantBombIE
211 from .giga import GigaIE
212 from .glide import GlideIE
213 from .globo import GloboIE
214 from .godtube import GodTubeIE
215 from .goldenmoustache import GoldenMoustacheIE
216 from .golem import GolemIE
217 from .googleplus import GooglePlusIE
218 from .googlesearch import GoogleSearchIE
219 from .gorillavid import GorillaVidIE
220 from .goshgay import GoshgayIE
221 from .groupon import GrouponIE
222 from .hark import HarkIE
223 from .hearthisat import HearThisAtIE
224 from .heise import HeiseIE
225 from .hellporno import HellPornoIE
226 from .helsinki import HelsinkiIE
227 from .hentaistigma import HentaiStigmaIE
228 from .historicfilms import HistoricFilmsIE
229 from .history import HistoryIE
230 from .hitbox import HitboxIE, HitboxLiveIE
231 from .hornbunny import HornBunnyIE
232 from .hostingbulk import HostingBulkIE
233 from .hotnewhiphop import HotNewHipHopIE
234 from .howcast import HowcastIE
235 from .howstuffworks import HowStuffWorksIE
236 from .huffpost import HuffPostIE
237 from .hypem import HypemIE
238 from .iconosquare import IconosquareIE
239 from .ign import IGNIE, OneUPIE
248 from .ina import InaIE
249 from .indavideo import (
253 from .infoq import InfoQIE
254 from .instagram import InstagramIE, InstagramUserIE
255 from .internetvideoarchive import InternetVideoArchiveIE
256 from .iprima import IPrimaIE
257 from .iqiyi import IqiyiIE
258 from .ir90tv import Ir90TvIE
263 from .izlesene import IzleseneIE
264 from .jadorecettepub import JadoreCettePubIE
265 from .jeuxvideo import JeuxVideoIE
266 from .jove import JoveIE
267 from .jukebox import JukeboxIE
268 from .jpopsukitv import JpopsukiIE
269 from .kaltura import KalturaIE
270 from .kanalplay import KanalPlayIE
271 from .kankan import KankanIE
272 from .karaoketv import KaraoketvIE
273 from .karrierevideos import KarriereVideosIE
274 from .keezmovies import KeezMoviesIE
275 from .khanacademy import KhanAcademyIE
276 from .kickstarter import KickStarterIE
277 from .keek import KeekIE
278 from .kontrtube import KontrTubeIE
279 from .krasview import KrasViewIE
280 from .ku6 import Ku6IE
289 from .la7 import LA7IE
290 from .laola1tv import Laola1TvIE
291 from .lecture2go import Lecture2GoIE
297 from .libsyn import LibsynIE
298 from .lifenews import (
302 from .liveleak import LiveLeakIE
303 from .livestream import (
305 LivestreamOriginalIE,
306 LivestreamShortenerIE,
308 from .lnkgo import LnkGoIE
309 from .lrt import LRTIE
315 from .macgamestore import MacGameStoreIE
316 from .mailru import MailRuIE
317 from .malemotion import MalemotionIE
318 from .mdr import MDRIE
319 from .megavideoz import MegaVideozIE
320 from .metacafe import MetacafeIE
321 from .metacritic import MetacriticIE
322 from .mgoon import MgoonIE
323 from .minhateca import MinhatecaIE
324 from .ministrygrid import MinistryGridIE
325 from .miomio import MioMioIE
326 from .mit import TechTVMITIE, MITIE, OCWMITIE
327 from .mitele import MiTeleIE
328 from .mixcloud import MixcloudIE
329 from .mlb import MLBIE
330 from .mpora import MporaIE
331 from .moevideo import MoeVideoIE
332 from .mofosex import MofosexIE
333 from .mojvideo import MojvideoIE
334 from .moniker import MonikerIE
335 from .mooshare import MooshareIE
336 from .morningstar import MorningstarIE
337 from .motherless import MotherlessIE
338 from .motorsport import MotorsportIE
339 from .movieclips import MovieClipsIE
340 from .moviezine import MoviezineIE
341 from .movshare import MovShareIE
344 MTVServicesEmbeddedIE,
348 from .muenchentv import MuenchenTVIE
349 from .musicplayon import MusicPlayOnIE
350 from .musicvault import MusicVaultIE
351 from .muzu import MuzuTVIE
352 from .mwave import MwaveIE
353 from .myspace import MySpaceIE, MySpaceAlbumIE
354 from .myspass import MySpassIE
355 from .myvi import MyviIE
356 from .myvideo import MyVideoIE
357 from .myvidster import MyVidsterIE
358 from .nationalgeographic import NationalGeographicIE
359 from .naver import NaverIE
360 from .nba import NBAIE
372 from .ndtv import NDTVIE
373 from .netzkino import NetzkinoIE
374 from .nerdcubed import NerdCubedFeedIE
375 from .nerdist import NerdistIE
376 from .neteasemusic import (
379 NetEaseMusicSingerIE,
382 NetEaseMusicProgramIE,
383 NetEaseMusicDjRadioIE,
385 from .newgrounds import NewgroundsIE
386 from .newstube import NewstubeIE
387 from .nextmedia import (
389 NextMediaActionNewsIE,
392 from .nfb import NFBIE
393 from .nfl import NFLIE
399 from .niconico import NiconicoIE, NiconicoPlaylistIE
400 from .ninegag import NineGagIE
401 from .noco import NocoIE
402 from .normalboots import NormalbootsIE
403 from .nosvideo import NosVideoIE
404 from .nova import NovaIE
405 from .novamov import NovaMovIE
406 from .nowness import NownessIE
407 from .nowtv import NowTVIE
408 from .nowvideo import NowVideoIE
422 from .ntvde import NTVDeIE
423 from .ntvru import NTVRuIE
424 from .nytimes import (
428 from .nuvid import NuvidIE
429 from .odnoklassniki import OdnoklassnikiIE
430 from .oktoberfesttv import OktoberfestTVIE
431 from .onionstudios import OnionStudiosIE
432 from .ooyala import (
436 from .openfilm import OpenFilmIE
443 from .parliamentliveuk import ParliamentLiveUKIE
444 from .patreon import PatreonIE
445 from .pbs import PBSIE
446 from .periscope import (
450 from .philharmoniedeparis import PhilharmonieDeParisIE
451 from .phoenix import PhoenixIE
452 from .photobucket import PhotobucketIE
453 from .pinkbike import PinkbikeIE
454 from .planetaplay import PlanetaPlayIE
455 from .pladform import PladformIE
456 from .played import PlayedIE
457 from .playfm import PlayFMIE
458 from .playtvak import PlaytvakIE
459 from .playvid import PlayvidIE
460 from .playwire import PlaywireIE
461 from .pluralsight import (
465 from .podomatic import PodomaticIE
466 from .porn91 import Porn91IE
467 from .pornhd import PornHdIE
468 from .pornhub import (
472 from .pornotube import PornotubeIE
473 from .pornovoisines import PornoVoisinesIE
474 from .pornoxo import PornoXOIE
475 from .primesharetv import PrimeShareTVIE
476 from .promptfile import PromptFileIE
477 from .prosiebensat1 import ProSiebenSat1IE
478 from .puls4 import Puls4IE
479 from .pyvideo import PyvideoIE
480 from .qqmusic import (
487 from .quickvid import QuickVidIE
489 from .radiode import RadioDeIE
490 from .radiojavan import RadioJavanIE
491 from .radiobremen import RadioBremenIE
492 from .radiofrance import RadioFranceIE
493 from .rai import RaiIE
494 from .rbmaradio import RBMARadioIE
495 from .rds import RDSIE
496 from .redtube import RedTubeIE
497 from .restudy import RestudyIE
498 from .reverbnation import ReverbNationIE
499 from .ringtv import RingTVIE
500 from .ro220 import Ro220IE
501 from .rottentomatoes import RottenTomatoesIE
502 from .roxwel import RoxwelIE
503 from .rtbf import RTBFIE
504 from .rte import RteIE
505 from .rtlnl import RtlNlIE
506 from .rtl2 import RTL2IE
507 from .rtp import RTPIE
508 from .rts import RTSIE
509 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
510 from .rtvnh import RTVNHIE
511 from .ruhd import RUHDIE
512 from .rutube import (
519 from .rutv import RUTVIE
520 from .ruutu import RuutuIE
521 from .sandia import SandiaIE
522 from .safari import (
526 from .sapo import SapoIE
527 from .savefrom import SaveFromIE
528 from .sbs import SBSIE
529 from .scivee import SciVeeIE
530 from .screencast import ScreencastIE
531 from .screencastomatic import ScreencastOMaticIE
532 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
533 from .senateisvp import SenateISVPIE
534 from .servingsys import ServingSysIE
535 from .sexu import SexuIE
536 from .sexykarma import SexyKarmaIE
537 from .shahid import ShahidIE
538 from .shared import SharedIE
539 from .sharesix import ShareSixIE
540 from .sina import SinaIE
541 from .slideshare import SlideshareIE
542 from .slutload import SlutloadIE
543 from .smotri import (
549 from .snagfilms import (
553 from .snotr import SnotrIE
554 from .sohu import SohuIE
555 from .soompi import (
559 from .soundcloud import (
565 from .soundgasm import (
569 from .southpark import (
576 from .space import SpaceIE
577 from .spankbang import SpankBangIE
578 from .spankwire import SpankwireIE
579 from .spiegel import SpiegelIE, SpiegelArticleIE
580 from .spiegeltv import SpiegeltvIE
581 from .spike import SpikeIE
582 from .sport5 import Sport5IE
583 from .sportbox import (
587 from .sportdeutschland import SportDeutschlandIE
588 from .srf import SrfIE
589 from .srmediathek import SRMediathekIE
590 from .ssa import SSAIE
591 from .stanfordoc import StanfordOpenClassroomIE
592 from .steam import SteamIE
593 from .streamcloud import StreamcloudIE
594 from .streamcz import StreamCZIE
595 from .streetvoice import StreetVoiceIE
596 from .sunporno import SunPornoIE
601 from .swrmediathek import SWRMediathekIE
602 from .syfy import SyfyIE
603 from .sztvhu import SztvHuIE
604 from .tagesschau import TagesschauIE
605 from .tapely import TapelyIE
606 from .tass import TassIE
607 from .teachertube import (
611 from .teachingchannel import TeachingChannelIE
612 from .teamcoco import TeamcocoIE
613 from .techtalks import TechTalksIE
614 from .ted import TEDIE
615 from .telebruxelles import TeleBruxellesIE
616 from .telecinco import TelecincoIE
617 from .telegraaf import TelegraafIE
618 from .telemb import TeleMBIE
619 from .teletask import TeleTaskIE
620 from .tenplay import TenPlayIE
621 from .testurl import TestURLIE
622 from .testtube import TestTubeIE
623 from .tf1 import TF1IE
624 from .theonion import TheOnionIE
625 from .theplatform import (
629 from .thesixtyone import TheSixtyOneIE
630 from .thisamericanlife import ThisAmericanLifeIE
631 from .thisav import ThisAVIE
632 from .tinypic import TinyPicIE
633 from .tlc import TlcIE, TlcDeIE
638 from .tnaflix import (
643 from .thvideo import (
647 from .toutv import TouTvIE
648 from .toypics import ToypicsUserIE, ToypicsIE
649 from .traileraddict import TrailerAddictIE
650 from .trilulilu import TriluliluIE
651 from .trutube import TruTubeIE
652 from .tube8 import Tube8IE
653 from .tubitv import TubiTvIE
654 from .tudou import TudouIE
655 from .tumblr import TumblrIE
656 from .tunein import TuneInIE
657 from .turbo import TurboIE
658 from .tutv import TutvIE
663 from .tv4 import TV4IE
668 from .tvigle import TvigleIE
669 from .tvp import TvpIE, TvpSeriesIE
670 from .tvplay import TVPlayIE
671 from .tweakers import TweakersIE
672 from .twentyfourvideo import TwentyFourVideoIE
673 from .twentytwotracks import (
675 TwentyTwoTracksGenreIE
677 from .twitch import (
682 TwitchPastBroadcastsIE,
686 from .twitter import TwitterCardIE
687 from .ubu import UbuIE
692 from .udn import UDNEmbedIE
693 from .ultimedia import UltimediaIE
694 from .unistra import UnistraIE
695 from .urort import UrortIE
696 from .ustream import UstreamIE, UstreamChannelIE
697 from .varzesh3 import Varzesh3IE
698 from .vbox7 import Vbox7IE
699 from .veehd import VeeHDIE
700 from .veoh import VeohIE
701 from .vessel import VesselIE
702 from .vesti import VestiIE
703 from .vevo import VevoIE
709 from .vh1 import VH1IE
710 from .vice import ViceIE
711 from .viddler import ViddlerIE
712 from .videodetective import VideoDetectiveIE
713 from .videolecturesnet import VideoLecturesNetIE
714 from .videofyme import VideofyMeIE
715 from .videomega import VideoMegaIE
716 from .videopremium import VideoPremiumIE
717 from .videott import VideoTtIE
718 from .videoweed import VideoWeedIE
719 from .vidme import VidmeIE
720 from .vidzi import VidziIE
721 from .vier import VierIE, VierVideosIE
722 from .viewster import ViewsterIE
733 from .vimple import VimpleIE
746 from .vlive import VLiveIE
747 from .vodlocker import VodlockerIE
748 from .voicerepublic import VoiceRepublicIE
749 from .vporn import VpornIE
750 from .vrt import VRTIE
751 from .vube import VubeIE
752 from .vuclip import VuClipIE
753 from .vulture import VultureIE
754 from .walla import WallaIE
755 from .washingtonpost import WashingtonPostIE
756 from .wat import WatIE
757 from .wayofthemaster import WayOfTheMasterIE
763 from .webofstories import (
765 WebOfStoriesPlaylistIE,
767 from .weibo import WeiboIE
768 from .wimp import WimpIE
769 from .wistia import WistiaIE
770 from .worldstarhiphop import WorldStarHipHopIE
771 from .wrzuta import WrzutaIE
772 from .wsj import WSJIE
773 from .xbef import XBefIE
774 from .xboxclips import XboxClipsIE
775 from .xhamster import (
779 from .xminus import XMinusIE
780 from .xnxx import XNXXIE
781 from .xstream import XstreamIE
782 from .xtube import XTubeUserIE, XTubeIE
783 from .xuite import XuiteIE
784 from .xvideos import XVideosIE
785 from .xxxymovies import XXXYMoviesIE
790 from .yam import YamIE
791 from .yandexmusic import (
794 YandexMusicPlaylistIE,
796 from .yesjapan import YesJapanIE
797 from .yinyuetai import YinYueTaiIE
798 from .ynet import YnetIE
799 from .youjizz import YouJizzIE
800 from .youku import YoukuIE
801 from .youporn import YouPornIE
802 from .yourupload import YourUploadIE
803 from .youtube import (
809 YoutubeRecommendedIE,
814 YoutubeSubscriptionsIE,
815 YoutubeTruncatedIDIE,
816 YoutubeTruncatedURLIE,
820 from .zapiks import ZapiksIE
821 from .zdf import ZDFIE, ZDFChannelIE
822 from .zingmp3 import (
829 for name, klass in globals().items()
830 if name.endswith('IE') and name != 'GenericIE'
832 _ALL_CLASSES.append(GenericIE)
835 def gen_extractors():
836 """ Return a list of an instance of every supported extractor.
837 The order does matter; the first extractor matched is the one handling the URL.
839 return [klass() for klass in _ALL_CLASSES]
842 def list_extractors(age_limit):
844 Return a list of extractors that are suitable for the given age,
845 sorted by extractor ID.
849 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
850 key=lambda ie: ie.IE_NAME.lower())
853 def get_info_extractor(ie_name):
854 """Returns the info extractor class with the given ie_name"""
855 return globals()[ie_name + 'IE']