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
232 from .iqiyi import IqiyiIE
237 from .izlesene import IzleseneIE
238 from .jadorecettepub import JadoreCettePubIE
239 from .jeuxvideo import JeuxVideoIE
240 from .jove import JoveIE
241 from .jukebox import JukeboxIE
242 from .jpopsukitv import JpopsukiIE
243 from .kaltura import KalturaIE
244 from .kanalplay import KanalPlayIE
245 from .kankan import KankanIE
246 from .karaoketv import KaraoketvIE
247 from .karrierevideos import KarriereVideosIE
248 from .keezmovies import KeezMoviesIE
249 from .khanacademy import KhanAcademyIE
250 from .kickstarter import KickStarterIE
251 from .keek import KeekIE
252 from .kontrtube import KontrTubeIE
253 from .krasview import KrasViewIE
254 from .ku6 import Ku6IE
255 from .la7 import LA7IE
256 from .laola1tv import Laola1TvIE
262 from .libsyn import LibsynIE
263 from .lifenews import (
267 from .liveleak import LiveLeakIE
268 from .livestream import (
270 LivestreamOriginalIE,
271 LivestreamShortenerIE,
273 from .lnkgo import LnkGoIE
274 from .lrt import LRTIE
280 from .macgamestore import MacGameStoreIE
281 from .mailru import MailRuIE
282 from .malemotion import MalemotionIE
283 from .mdr import MDRIE
284 from .megavideoz import MegaVideozIE
285 from .metacafe import MetacafeIE
286 from .metacritic import MetacriticIE
287 from .mgoon import MgoonIE
288 from .minhateca import MinhatecaIE
289 from .ministrygrid import MinistryGridIE
290 from .miomio import MioMioIE
291 from .mit import TechTVMITIE, MITIE, OCWMITIE
292 from .mitele import MiTeleIE
293 from .mixcloud import MixcloudIE
294 from .mlb import MLBIE
295 from .mpora import MporaIE
296 from .moevideo import MoeVideoIE
297 from .mofosex import MofosexIE
298 from .mojvideo import MojvideoIE
299 from .moniker import MonikerIE
300 from .mooshare import MooshareIE
301 from .morningstar import MorningstarIE
302 from .motherless import MotherlessIE
303 from .motorsport import MotorsportIE
304 from .movieclips import MovieClipsIE
305 from .moviezine import MoviezineIE
306 from .movshare import MovShareIE
309 MTVServicesEmbeddedIE,
312 from .muenchentv import MuenchenTVIE
313 from .musicplayon import MusicPlayOnIE
314 from .musicvault import MusicVaultIE
315 from .muzu import MuzuTVIE
316 from .myspace import MySpaceIE, MySpaceAlbumIE
317 from .myspass import MySpassIE
318 from .myvideo import MyVideoIE
319 from .myvidster import MyVidsterIE
320 from .nationalgeographic import NationalGeographicIE
321 from .naver import NaverIE
322 from .nba import NBAIE
333 from .ndtv import NDTVIE
334 from .netzkino import NetzkinoIE
335 from .nerdcubed import NerdCubedFeedIE
336 from .nerdist import NerdistIE
337 from .newgrounds import NewgroundsIE
338 from .newstube import NewstubeIE
339 from .nextmedia import (
341 NextMediaActionNewsIE,
344 from .nfb import NFBIE
345 from .nfl import NFLIE
351 from .niconico import NiconicoIE, NiconicoPlaylistIE
352 from .ninegag import NineGagIE
353 from .noco import NocoIE
354 from .normalboots import NormalbootsIE
355 from .nosvideo import NosVideoIE
356 from .nova import NovaIE
357 from .novamov import NovaMovIE
358 from .nowness import NownessIE
359 from .nowtv import NowTVIE
360 from .nowvideo import NowVideoIE
373 from .ntvde import NTVDeIE
374 from .ntvru import NTVRuIE
375 from .nytimes import (
379 from .nuvid import NuvidIE
380 from .odnoklassniki import OdnoklassnikiIE
381 from .oktoberfesttv import OktoberfestTVIE
382 from .ooyala import (
386 from .openfilm import OpenFilmIE
393 from .parliamentliveuk import ParliamentLiveUKIE
394 from .patreon import PatreonIE
395 from .pbs import PBSIE
396 from .philharmoniedeparis import PhilharmonieDeParisIE
397 from .phoenix import PhoenixIE
398 from .photobucket import PhotobucketIE
399 from .planetaplay import PlanetaPlayIE
400 from .pladform import PladformIE
401 from .played import PlayedIE
402 from .playfm import PlayFMIE
403 from .playvid import PlayvidIE
404 from .playwire import PlaywireIE
405 from .podomatic import PodomaticIE
406 from .porn91 import Porn91IE
407 from .pornhd import PornHdIE
408 from .pornhub import (
412 from .pornotube import PornotubeIE
413 from .pornovoisines import PornoVoisinesIE
414 from .pornoxo import PornoXOIE
415 from .primesharetv import PrimeShareTVIE
416 from .promptfile import PromptFileIE
417 from .prosiebensat1 import ProSiebenSat1IE
418 from .puls4 import Puls4IE
419 from .pyvideo import PyvideoIE
420 from .qqmusic import (
426 from .quickvid import QuickVidIE
428 from .radiode import RadioDeIE
429 from .radiojavan import RadioJavanIE
430 from .radiobremen import RadioBremenIE
431 from .radiofrance import RadioFranceIE
432 from .rai import RaiIE
433 from .rbmaradio import RBMARadioIE
434 from .redtube import RedTubeIE
435 from .restudy import RestudyIE
436 from .reverbnation import ReverbNationIE
437 from .ringtv import RingTVIE
438 from .ro220 import Ro220IE
439 from .rottentomatoes import RottenTomatoesIE
440 from .roxwel import RoxwelIE
441 from .rtbf import RTBFIE
442 from .rte import RteIE
443 from .rtlnl import RtlNlIE
444 from .rtl2 import RTL2IE
445 from .rtp import RTPIE
446 from .rts import RTSIE
447 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
448 from .ruhd import RUHDIE
449 from .rutube import (
456 from .rutv import RUTVIE
457 from .sandia import SandiaIE
458 from .safari import (
462 from .sapo import SapoIE
463 from .savefrom import SaveFromIE
464 from .sbs import SBSIE
465 from .scivee import SciVeeIE
466 from .screencast import ScreencastIE
467 from .screencastomatic import ScreencastOMaticIE
468 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
469 from .senateisvp import SenateISVPIE
470 from .servingsys import ServingSysIE
471 from .sexu import SexuIE
472 from .sexykarma import SexyKarmaIE
473 from .shared import SharedIE
474 from .sharesix import ShareSixIE
475 from .sina import SinaIE
476 from .slideshare import SlideshareIE
477 from .slutload import SlutloadIE
478 from .smotri import (
484 from .snotr import SnotrIE
485 from .sohu import SohuIE
486 from .soompi import (
490 from .soundcloud import (
496 from .soundgasm import (
500 from .southpark import (
507 from .space import SpaceIE
508 from .spankbang import SpankBangIE
509 from .spankwire import SpankwireIE
510 from .spiegel import SpiegelIE, SpiegelArticleIE
511 from .spiegeltv import SpiegeltvIE
512 from .spike import SpikeIE
513 from .sport5 import Sport5IE
514 from .sportbox import (
518 from .sportdeutschland import SportDeutschlandIE
519 from .srf import SrfIE
520 from .srmediathek import SRMediathekIE
521 from .ssa import SSAIE
522 from .stanfordoc import StanfordOpenClassroomIE
523 from .steam import SteamIE
524 from .streamcloud import StreamcloudIE
525 from .streamcz import StreamCZIE
526 from .streetvoice import StreetVoiceIE
527 from .sunporno import SunPornoIE
532 from .swrmediathek import SWRMediathekIE
533 from .syfy import SyfyIE
534 from .sztvhu import SztvHuIE
535 from .tagesschau import TagesschauIE
536 from .tapely import TapelyIE
537 from .tass import TassIE
538 from .teachertube import (
542 from .teachingchannel import TeachingChannelIE
543 from .teamcoco import TeamcocoIE
544 from .techtalks import TechTalksIE
545 from .ted import TEDIE
546 from .telebruxelles import TeleBruxellesIE
547 from .telecinco import TelecincoIE
548 from .telemb import TeleMBIE
549 from .teletask import TeleTaskIE
550 from .tenplay import TenPlayIE
551 from .testurl import TestURLIE
552 from .testtube import TestTubeIE
553 from .tf1 import TF1IE
554 from .theonion import TheOnionIE
555 from .theplatform import ThePlatformIE
556 from .thesixtyone import TheSixtyOneIE
557 from .thisav import ThisAVIE
558 from .tinypic import TinyPicIE
559 from .tlc import TlcIE, TlcDeIE
564 from .tnaflix import TNAFlixIE
565 from .thvideo import (
569 from .toutv import TouTvIE
570 from .toypics import ToypicsUserIE, ToypicsIE
571 from .traileraddict import TrailerAddictIE
572 from .trilulilu import TriluliluIE
573 from .trutube import TruTubeIE
574 from .tube8 import Tube8IE
575 from .tubitv import TubiTvIE
576 from .tudou import TudouIE
577 from .tumblr import TumblrIE
578 from .tunein import TuneInIE
579 from .turbo import TurboIE
580 from .tutv import TutvIE
585 from .tv4 import TV4IE
586 from .tvigle import TvigleIE
587 from .tvp import TvpIE, TvpSeriesIE
588 from .tvplay import TVPlayIE
589 from .tweakers import TweakersIE
590 from .twentyfourvideo import TwentyFourVideoIE
591 from .twentytwotracks import (
593 TwentyTwoTracksGenreIE
595 from .twitch import (
600 TwitchPastBroadcastsIE,
604 from .ubu import UbuIE
609 from .udn import UDNEmbedIE
610 from .ultimedia import UltimediaIE
611 from .unistra import UnistraIE
612 from .urort import UrortIE
613 from .ustream import UstreamIE, UstreamChannelIE
614 from .varzesh3 import Varzesh3IE
615 from .vbox7 import Vbox7IE
616 from .veehd import VeeHDIE
617 from .veoh import VeohIE
618 from .vessel import VesselIE
619 from .vesti import VestiIE
620 from .vevo import VevoIE
626 from .vh1 import VH1IE
627 from .vice import ViceIE
628 from .viddler import ViddlerIE
629 from .videobam import VideoBamIE
630 from .videodetective import VideoDetectiveIE
631 from .videolecturesnet import VideoLecturesNetIE
632 from .videofyme import VideofyMeIE
633 from .videomega import VideoMegaIE
634 from .videopremium import VideoPremiumIE
635 from .videott import VideoTtIE
636 from .videoweed import VideoWeedIE
637 from .vidme import VidmeIE
638 from .vidzi import VidziIE
639 from .vier import VierIE, VierVideosIE
640 from .viewster import ViewsterIE
651 from .vimple import VimpleIE
664 from .vodlocker import VodlockerIE
665 from .voicerepublic import VoiceRepublicIE
666 from .vporn import VpornIE
667 from .vrt import VRTIE
668 from .vube import VubeIE
669 from .vuclip import VuClipIE
670 from .vulture import VultureIE
671 from .walla import WallaIE
672 from .washingtonpost import WashingtonPostIE
673 from .wat import WatIE
674 from .wayofthemaster import WayOfTheMasterIE
680 from .webofstories import WebOfStoriesIE
681 from .weibo import WeiboIE
682 from .wimp import WimpIE
683 from .wistia import WistiaIE
684 from .worldstarhiphop import WorldStarHipHopIE
685 from .wrzuta import WrzutaIE
686 from .wsj import WSJIE
687 from .xbef import XBefIE
688 from .xboxclips import XboxClipsIE
689 from .xhamster import XHamsterIE
690 from .xminus import XMinusIE
691 from .xnxx import XNXXIE
692 from .xstream import XstreamIE
693 from .xtube import XTubeUserIE, XTubeIE
694 from .xuite import XuiteIE
695 from .xvideos import XVideosIE
696 from .xxxymovies import XXXYMoviesIE
701 from .yam import YamIE
702 from .yandexmusic import (
705 YandexMusicPlaylistIE,
707 from .yesjapan import YesJapanIE
708 from .ynet import YnetIE
709 from .youjizz import YouJizzIE
710 from .youku import YoukuIE
711 from .youporn import YouPornIE
712 from .yourupload import YourUploadIE
713 from .youtube import (
719 YoutubeRecommendedIE,
724 YoutubeSubscriptionsIE,
725 YoutubeTruncatedIDIE,
726 YoutubeTruncatedURLIE,
730 from .zapiks import ZapiksIE
731 from .zdf import ZDFIE, ZDFChannelIE
732 from .zingmp3 import (
739 for name, klass in globals().items()
740 if name.endswith('IE') and name != 'GenericIE'
742 _ALL_CLASSES.append(GenericIE)
745 def gen_extractors():
746 """ Return a list of an instance of every supported extractor.
747 The order does matter; the first extractor matched is the one handling the URL.
749 return [klass() for klass in _ALL_CLASSES]
752 def list_extractors(age_limit):
754 Return a list of extractors that are suitable for the given age,
755 sorted by extractor ID.
759 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
760 key=lambda ie: ie.IE_NAME.lower())
763 def get_info_extractor(ie_name):
764 """Returns the info extractor class with the given ie_name"""
765 return globals()[ie_name + 'IE']