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 .ruutu import RuutuIE
458 from .sandia import SandiaIE
459 from .safari import (
463 from .sapo import SapoIE
464 from .savefrom import SaveFromIE
465 from .sbs import SBSIE
466 from .scivee import SciVeeIE
467 from .screencast import ScreencastIE
468 from .screencastomatic import ScreencastOMaticIE
469 from .screenwavemedia import ScreenwaveMediaIE, TeamFourIE
470 from .senateisvp import SenateISVPIE
471 from .servingsys import ServingSysIE
472 from .sexu import SexuIE
473 from .sexykarma import SexyKarmaIE
474 from .shared import SharedIE
475 from .sharesix import ShareSixIE
476 from .sina import SinaIE
477 from .slideshare import SlideshareIE
478 from .slutload import SlutloadIE
479 from .smotri import (
485 from .snotr import SnotrIE
486 from .sohu import SohuIE
487 from .soompi import (
491 from .soundcloud import (
497 from .soundgasm import (
501 from .southpark import (
508 from .space import SpaceIE
509 from .spankbang import SpankBangIE
510 from .spankwire import SpankwireIE
511 from .spiegel import SpiegelIE, SpiegelArticleIE
512 from .spiegeltv import SpiegeltvIE
513 from .spike import SpikeIE
514 from .sport5 import Sport5IE
515 from .sportbox import (
519 from .sportdeutschland import SportDeutschlandIE
520 from .srf import SrfIE
521 from .srmediathek import SRMediathekIE
522 from .ssa import SSAIE
523 from .stanfordoc import StanfordOpenClassroomIE
524 from .steam import SteamIE
525 from .streamcloud import StreamcloudIE
526 from .streamcz import StreamCZIE
527 from .streetvoice import StreetVoiceIE
528 from .sunporno import SunPornoIE
533 from .swrmediathek import SWRMediathekIE
534 from .syfy import SyfyIE
535 from .sztvhu import SztvHuIE
536 from .tagesschau import TagesschauIE
537 from .tapely import TapelyIE
538 from .tass import TassIE
539 from .teachertube import (
543 from .teachingchannel import TeachingChannelIE
544 from .teamcoco import TeamcocoIE
545 from .techtalks import TechTalksIE
546 from .ted import TEDIE
547 from .telebruxelles import TeleBruxellesIE
548 from .telecinco import TelecincoIE
549 from .telemb import TeleMBIE
550 from .teletask import TeleTaskIE
551 from .tenplay import TenPlayIE
552 from .testurl import TestURLIE
553 from .testtube import TestTubeIE
554 from .tf1 import TF1IE
555 from .theonion import TheOnionIE
556 from .theplatform import ThePlatformIE
557 from .thesixtyone import TheSixtyOneIE
558 from .thisav import ThisAVIE
559 from .tinypic import TinyPicIE
560 from .tlc import TlcIE, TlcDeIE
565 from .tnaflix import TNAFlixIE
566 from .thvideo import (
570 from .toutv import TouTvIE
571 from .toypics import ToypicsUserIE, ToypicsIE
572 from .traileraddict import TrailerAddictIE
573 from .trilulilu import TriluliluIE
574 from .trutube import TruTubeIE
575 from .tube8 import Tube8IE
576 from .tubitv import TubiTvIE
577 from .tudou import TudouIE
578 from .tumblr import TumblrIE
579 from .tunein import TuneInIE
580 from .turbo import TurboIE
581 from .tutv import TutvIE
586 from .tv4 import TV4IE
591 from .tvigle import TvigleIE
592 from .tvp import TvpIE, TvpSeriesIE
593 from .tvplay import TVPlayIE
594 from .tweakers import TweakersIE
595 from .twentyfourvideo import TwentyFourVideoIE
596 from .twentytwotracks import (
598 TwentyTwoTracksGenreIE
600 from .twitch import (
605 TwitchPastBroadcastsIE,
609 from .ubu import UbuIE
614 from .udn import UDNEmbedIE
615 from .ultimedia import UltimediaIE
616 from .unistra import UnistraIE
617 from .urort import UrortIE
618 from .ustream import UstreamIE, UstreamChannelIE
619 from .varzesh3 import Varzesh3IE
620 from .vbox7 import Vbox7IE
621 from .veehd import VeeHDIE
622 from .veoh import VeohIE
623 from .vessel import VesselIE
624 from .vesti import VestiIE
625 from .vevo import VevoIE
631 from .vh1 import VH1IE
632 from .vice import ViceIE
633 from .viddler import ViddlerIE
634 from .videobam import VideoBamIE
635 from .videodetective import VideoDetectiveIE
636 from .videolecturesnet import VideoLecturesNetIE
637 from .videofyme import VideofyMeIE
638 from .videomega import VideoMegaIE
639 from .videopremium import VideoPremiumIE
640 from .videott import VideoTtIE
641 from .videoweed import VideoWeedIE
642 from .vidme import VidmeIE
643 from .vidzi import VidziIE
644 from .vier import VierIE, VierVideosIE
645 from .viewster import ViewsterIE
656 from .vimple import VimpleIE
669 from .vodlocker import VodlockerIE
670 from .voicerepublic import VoiceRepublicIE
671 from .vporn import VpornIE
672 from .vrt import VRTIE
673 from .vube import VubeIE
674 from .vuclip import VuClipIE
675 from .vulture import VultureIE
676 from .walla import WallaIE
677 from .washingtonpost import WashingtonPostIE
678 from .wat import WatIE
679 from .wayofthemaster import WayOfTheMasterIE
685 from .webofstories import WebOfStoriesIE
686 from .weibo import WeiboIE
687 from .wimp import WimpIE
688 from .wistia import WistiaIE
689 from .worldstarhiphop import WorldStarHipHopIE
690 from .wrzuta import WrzutaIE
691 from .wsj import WSJIE
692 from .xbef import XBefIE
693 from .xboxclips import XboxClipsIE
694 from .xhamster import XHamsterIE
695 from .xminus import XMinusIE
696 from .xnxx import XNXXIE
697 from .xstream import XstreamIE
698 from .xtube import XTubeUserIE, XTubeIE
699 from .xuite import XuiteIE
700 from .xvideos import XVideosIE
701 from .xxxymovies import XXXYMoviesIE
706 from .yam import YamIE
707 from .yandexmusic import (
710 YandexMusicPlaylistIE,
712 from .yesjapan import YesJapanIE
713 from .ynet import YnetIE
714 from .youjizz import YouJizzIE
715 from .youku import YoukuIE
716 from .youporn import YouPornIE
717 from .yourupload import YourUploadIE
718 from .youtube import (
724 YoutubeRecommendedIE,
729 YoutubeSubscriptionsIE,
730 YoutubeTruncatedIDIE,
731 YoutubeTruncatedURLIE,
735 from .zapiks import ZapiksIE
736 from .zdf import ZDFIE, ZDFChannelIE
737 from .zingmp3 import (
744 for name, klass in globals().items()
745 if name.endswith('IE') and name != 'GenericIE'
747 _ALL_CLASSES.append(GenericIE)
750 def gen_extractors():
751 """ Return a list of an instance of every supported extractor.
752 The order does matter; the first extractor matched is the one handling the URL.
754 return [klass() for klass in _ALL_CLASSES]
757 def list_extractors(age_limit):
759 Return a list of extractors that are suitable for the given age,
760 sorted by extractor ID.
764 filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
765 key=lambda ie: ie.IE_NAME.lower())
768 def get_info_extractor(ie_name):
769 """Returns the info extractor class with the given ie_name"""
770 return globals()[ie_name + 'IE']