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 .dropbox import DropboxIE
142 from .eagleplatform import EaglePlatformIE
143 from .ebaumsworld import EbaumsWorldIE
144 from .echomsk import EchoMskIE
145 from .ehow import EHowIE
146 from .eighttracks import EightTracksIE
147 from .einthusan import EinthusanIE
148 from .eitb import EitbIE
149 from .ellentv import (
153 from .elpais import ElPaisIE
154 from .embedly import EmbedlyIE
155 from .engadget import EngadgetIE
156 from .eporner import EpornerIE
157 from .eroprofile import EroProfileIE
158 from .escapist import EscapistIE
159 from .espn import ESPNIE
160 from .esri import EsriVideoIE
161 from .everyonesmixtape import EveryonesMixtapeIE
162 from .exfm import ExfmIE
163 from .expotv import ExpoTVIE
164 from .extremetube import ExtremeTubeIE
165 from .facebook import FacebookIE
166 from .faz import FazIE
167 from .fc2 import FC2IE
168 from .firstpost import FirstpostIE
169 from .firsttv import FirstTVIE
170 from .fivemin import FiveMinIE
171 from .fivetv import FiveTVIE
172 from .fktv import FKTVIE
173 from .flickr import FlickrIE
174 from .folketinget import FolketingetIE
175 from .footyroom import FootyRoomIE
176 from .fourtube import FourTubeIE
177 from .foxgay import FoxgayIE
178 from .foxnews import FoxNewsIE
179 from .foxsports import FoxSportsIE
180 from .franceculture import FranceCultureIE
181 from .franceinter import FranceInterIE
182 from .francetv import (
189 from .freesound import FreesoundIE
190 from .freespeech import FreespeechIE
191 from .freevideo import FreeVideoIE
192 from .funnyordie import FunnyOrDieIE
193 from .gamekings import GamekingsIE
194 from .gameone import (
198 from .gamersyde import GamersydeIE
199 from .gamespot import GameSpotIE
200 from .gamestar import GameStarIE
201 from .gametrailers import GametrailersIE
202 from .gazeta import GazetaIE
203 from .gdcvault import GDCVaultIE
204 from .generic import GenericIE
205 from .gfycat import GfycatIE
206 from .giantbomb import GiantBombIE
207 from .giga import GigaIE
208 from .glide import GlideIE
209 from .globo import GloboIE
210 from .godtube import GodTubeIE
211 from .goldenmoustache import GoldenMoustacheIE
212 from .golem import GolemIE
213 from .googleplus import GooglePlusIE
214 from .googlesearch import GoogleSearchIE
215 from .gorillavid import GorillaVidIE
216 from .goshgay import GoshgayIE
217 from .groupon import GrouponIE
218 from .hark import HarkIE
219 from .hearthisat import HearThisAtIE
220 from .heise import HeiseIE
221 from .hellporno import HellPornoIE
222 from .helsinki import HelsinkiIE
223 from .hentaistigma import HentaiStigmaIE
224 from .historicfilms import HistoricFilmsIE
225 from .history import HistoryIE
226 from .hitbox import HitboxIE, HitboxLiveIE
227 from .hornbunny import HornBunnyIE
228 from .hotnewhiphop import HotNewHipHopIE
229 from .howcast import HowcastIE
230 from .howstuffworks import HowStuffWorksIE
231 from .huffpost import HuffPostIE
232 from .hypem import HypemIE
233 from .iconosquare import IconosquareIE
234 from .ign import IGNIE, OneUPIE
243 from .ina import InaIE
244 from .indavideo import (
248 from .infoq import InfoQIE
249 from .instagram import InstagramIE, InstagramUserIE
250 from .internetvideoarchive import InternetVideoArchiveIE
251 from .iprima import IPrimaIE
252 from .iqiyi import IqiyiIE
253 from .ir90tv import Ir90TvIE
258 from .izlesene import IzleseneIE
259 from .jadorecettepub import JadoreCettePubIE
260 from .jeuxvideo import JeuxVideoIE
261 from .jove import JoveIE
262 from .jukebox import JukeboxIE
263 from .jpopsukitv import JpopsukiIE
264 from .kaltura import KalturaIE
265 from .kanalplay import KanalPlayIE
266 from .kankan import KankanIE
267 from .karaoketv import KaraoketvIE
268 from .karrierevideos import KarriereVideosIE
269 from .keezmovies import KeezMoviesIE
270 from .khanacademy import KhanAcademyIE
271 from .kickstarter import KickStarterIE
272 from .keek import KeekIE
273 from .kontrtube import KontrTubeIE
274 from .krasview import KrasViewIE
275 from .ku6 import Ku6IE
284 from .la7 import LA7IE
285 from .laola1tv import Laola1TvIE
286 from .lecture2go import Lecture2GoIE
292 from .libsyn import LibsynIE
293 from .lifenews import (
297 from .liveleak import LiveLeakIE
298 from .livestream import (
300 LivestreamOriginalIE,
301 LivestreamShortenerIE,
303 from .lnkgo import LnkGoIE
304 from .lrt import LRTIE
310 from .macgamestore import MacGameStoreIE
311 from .mailru import MailRuIE
312 from .malemotion import MalemotionIE
313 from .mdr import MDRIE
314 from .megavideoz import MegaVideozIE
315 from .metacafe import MetacafeIE
316 from .metacritic import MetacriticIE
317 from .mgoon import MgoonIE
318 from .minhateca import MinhatecaIE
319 from .ministrygrid import MinistryGridIE
320 from .miomio import MioMioIE
321 from .mit import TechTVMITIE, MITIE, OCWMITIE
322 from .mitele import MiTeleIE
323 from .mixcloud import MixcloudIE
324 from .mlb import MLBIE
325 from .mpora import MporaIE
326 from .moevideo import MoeVideoIE
327 from .mofosex import MofosexIE
328 from .mojvideo import MojvideoIE
329 from .moniker import MonikerIE
330 from .mooshare import MooshareIE
331 from .morningstar import MorningstarIE
332 from .motherless import MotherlessIE
333 from .motorsport import MotorsportIE
334 from .movieclips import MovieClipsIE
335 from .moviezine import MoviezineIE
336 from .movshare import MovShareIE
339 MTVServicesEmbeddedIE,
343 from .muenchentv import MuenchenTVIE
344 from .musicplayon import MusicPlayOnIE
345 from .muzu import MuzuTVIE
346 from .mwave import MwaveIE
347 from .myspace import MySpaceIE, MySpaceAlbumIE
348 from .myspass import MySpassIE
349 from .myvi import MyviIE
350 from .myvideo import MyVideoIE
351 from .myvidster import MyVidsterIE
352 from .nationalgeographic import NationalGeographicIE
353 from .naver import NaverIE
354 from .nba import NBAIE
369 from .ndtv import NDTVIE
370 from .netzkino import NetzkinoIE
371 from .nerdcubed import NerdCubedFeedIE
372 from .nerdist import NerdistIE
373 from .neteasemusic import (
376 NetEaseMusicSingerIE,
379 NetEaseMusicProgramIE,
380 NetEaseMusicDjRadioIE,
382 from .newgrounds import NewgroundsIE
383 from .newstube import NewstubeIE
384 from .nextmedia import (
386 NextMediaActionNewsIE,
389 from .nfb import NFBIE
390 from .nfl import NFLIE
396 from .niconico import NiconicoIE, NiconicoPlaylistIE
397 from .ninegag import NineGagIE
398 from .noco import NocoIE
399 from .normalboots import NormalbootsIE
400 from .nosvideo import NosVideoIE
401 from .nova import NovaIE
402 from .novamov import NovaMovIE
403 from .nowness import (
408 from .nowtv import NowTVIE
409 from .nowvideo import NowVideoIE
423 from .ntvde import NTVDeIE
424 from .ntvru import NTVRuIE
425 from .nytimes import (
429 from .nuvid import NuvidIE
430 from .odnoklassniki import OdnoklassnikiIE
431 from .oktoberfesttv import OktoberfestTVIE
432 from .onionstudios import OnionStudiosIE
433 from .ooyala import (
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']