__init__.py 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. from __future__ import unicode_literals
  2. from .abc import ABCIE
  3. from .abc7news import Abc7NewsIE
  4. from .academicearth import AcademicEarthCourseIE
  5. from .addanime import AddAnimeIE
  6. from .adobetv import AdobeTVIE
  7. from .adultswim import AdultSwimIE
  8. from .aftonbladet import AftonbladetIE
  9. from .aljazeera import AlJazeeraIE
  10. from .alphaporno import AlphaPornoIE
  11. from .anitube import AnitubeIE
  12. from .anysex import AnySexIE
  13. from .aol import AolIE
  14. from .allocine import AllocineIE
  15. from .aparat import AparatIE
  16. from .appletrailers import AppleTrailersIE
  17. from .archiveorg import ArchiveOrgIE
  18. from .ard import ARDIE, ARDMediathekIE
  19. from .arte import (
  20. ArteTvIE,
  21. ArteTVPlus7IE,
  22. ArteTVCreativeIE,
  23. ArteTVConcertIE,
  24. ArteTVFutureIE,
  25. ArteTVDDCIE,
  26. ArteTVEmbedIE,
  27. )
  28. from .atresplayer import AtresPlayerIE
  29. from .atttechchannel import ATTTechChannelIE
  30. from .audiomack import AudiomackIE, AudiomackAlbumIE
  31. from .azubu import AzubuIE
  32. from .bambuser import BambuserIE, BambuserChannelIE
  33. from .bandcamp import BandcampIE, BandcampAlbumIE
  34. from .bbccouk import BBCCoUkIE
  35. from .beeg import BeegIE
  36. from .behindkink import BehindKinkIE
  37. from .bet import BetIE
  38. from .bild import BildIE
  39. from .bilibili import BiliBiliIE
  40. from .blinkx import BlinkxIE
  41. from .bliptv import BlipTVIE, BlipTVUserIE
  42. from .bloomberg import BloombergIE
  43. from .bpb import BpbIE
  44. from .br import BRIE
  45. from .breakcom import BreakIE
  46. from .brightcove import BrightcoveIE
  47. from .buzzfeed import BuzzFeedIE
  48. from .byutv import BYUtvIE
  49. from .c56 import C56IE
  50. from .canal13cl import Canal13clIE
  51. from .canalplus import CanalplusIE
  52. from .canalc2 import Canalc2IE
  53. from .cbs import CBSIE
  54. from .cbsnews import CBSNewsIE
  55. from .ceskatelevize import CeskaTelevizeIE
  56. from .channel9 import Channel9IE
  57. from .chilloutzone import ChilloutzoneIE
  58. from .cinchcast import CinchcastIE
  59. from .clipfish import ClipfishIE
  60. from .cliphunter import CliphunterIE
  61. from .clipsyndicate import ClipsyndicateIE
  62. from .cloudy import CloudyIE
  63. from .clubic import ClubicIE
  64. from .cmt import CMTIE
  65. from .cnet import CNETIE
  66. from .cnn import (
  67. CNNIE,
  68. CNNBlogsIE,
  69. CNNArticleIE,
  70. )
  71. from .collegehumor import CollegeHumorIE
  72. from .collegerama import CollegeRamaIE
  73. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  74. from .comcarcoff import ComCarCoffIE
  75. from .commonmistakes import CommonMistakesIE
  76. from .condenast import CondeNastIE
  77. from .cracked import CrackedIE
  78. from .criterion import CriterionIE
  79. from .crunchyroll import (
  80. CrunchyrollIE,
  81. CrunchyrollShowPlaylistIE
  82. )
  83. from .cspan import CSpanIE
  84. from .ctsnews import CtsNewsIE
  85. from .dailymotion import (
  86. DailymotionIE,
  87. DailymotionPlaylistIE,
  88. DailymotionUserIE,
  89. )
  90. from .daum import DaumIE
  91. from .dbtv import DBTVIE
  92. from .deezer import DeezerPlaylistIE
  93. from .dfb import DFBIE
  94. from .dotsub import DotsubIE
  95. from .dreisat import DreiSatIE
  96. from .drbonanza import DRBonanzaIE
  97. from .drtuber import DrTuberIE
  98. from .drtv import DRTVIE
  99. from .dvtv import DVTVIE
  100. from .dump import DumpIE
  101. from .defense import DefenseGouvFrIE
  102. from .discovery import DiscoveryIE
  103. from .divxstage import DivxStageIE
  104. from .dropbox import DropboxIE
  105. from .ebaumsworld import EbaumsWorldIE
  106. from .echomsk import EchoMskIE
  107. from .ehow import EHowIE
  108. from .eighttracks import EightTracksIE
  109. from .einthusan import EinthusanIE
  110. from .eitb import EitbIE
  111. from .ellentv import (
  112. EllenTVIE,
  113. EllenTVClipsIE,
  114. )
  115. from .elpais import ElPaisIE
  116. from .empflix import EMPFlixIE
  117. from .engadget import EngadgetIE
  118. from .eporner import EpornerIE
  119. from .eroprofile import EroProfileIE
  120. from .escapist import EscapistIE
  121. from .everyonesmixtape import EveryonesMixtapeIE
  122. from .exfm import ExfmIE
  123. from .expotv import ExpoTVIE
  124. from .extremetube import ExtremeTubeIE
  125. from .facebook import FacebookIE
  126. from .faz import FazIE
  127. from .fc2 import FC2IE
  128. from .firedrive import FiredriveIE
  129. from .firstpost import FirstpostIE
  130. from .firsttv import FirstTVIE
  131. from .fivemin import FiveMinIE
  132. from .fktv import (
  133. FKTVIE,
  134. FKTVPosteckeIE,
  135. )
  136. from .flickr import FlickrIE
  137. from .folketinget import FolketingetIE
  138. from .fourtube import FourTubeIE
  139. from .foxgay import FoxgayIE
  140. from .foxnews import FoxNewsIE
  141. from .franceculture import FranceCultureIE
  142. from .franceinter import FranceInterIE
  143. from .francetv import (
  144. PluzzIE,
  145. FranceTvInfoIE,
  146. FranceTVIE,
  147. GenerationQuoiIE,
  148. CultureboxIE,
  149. )
  150. from .freesound import FreesoundIE
  151. from .freespeech import FreespeechIE
  152. from .freevideo import FreeVideoIE
  153. from .funnyordie import FunnyOrDieIE
  154. from .gamekings import GamekingsIE
  155. from .gameone import (
  156. GameOneIE,
  157. GameOnePlaylistIE,
  158. )
  159. from .gamespot import GameSpotIE
  160. from .gamestar import GameStarIE
  161. from .gametrailers import GametrailersIE
  162. from .gdcvault import GDCVaultIE
  163. from .generic import GenericIE
  164. from .giantbomb import GiantBombIE
  165. from .giga import GigaIE
  166. from .glide import GlideIE
  167. from .globo import GloboIE
  168. from .godtube import GodTubeIE
  169. from .goldenmoustache import GoldenMoustacheIE
  170. from .golem import GolemIE
  171. from .googleplus import GooglePlusIE
  172. from .googlesearch import GoogleSearchIE
  173. from .gorillavid import GorillaVidIE
  174. from .goshgay import GoshgayIE
  175. from .grooveshark import GroovesharkIE
  176. from .groupon import GrouponIE
  177. from .hark import HarkIE
  178. from .hearthisat import HearThisAtIE
  179. from .heise import HeiseIE
  180. from .hellporno import HellPornoIE
  181. from .helsinki import HelsinkiIE
  182. from .hentaistigma import HentaiStigmaIE
  183. from .hitbox import HitboxIE, HitboxLiveIE
  184. from .hornbunny import HornBunnyIE
  185. from .hostingbulk import HostingBulkIE
  186. from .hotnewhiphop import HotNewHipHopIE
  187. from .howcast import HowcastIE
  188. from .howstuffworks import HowStuffWorksIE
  189. from .huffpost import HuffPostIE
  190. from .hypem import HypemIE
  191. from .iconosquare import IconosquareIE
  192. from .ign import IGNIE, OneUPIE
  193. from .imdb import (
  194. ImdbIE,
  195. ImdbListIE
  196. )
  197. from .ina import InaIE
  198. from .infoq import InfoQIE
  199. from .instagram import InstagramIE, InstagramUserIE
  200. from .internetvideoarchive import InternetVideoArchiveIE
  201. from .iprima import IPrimaIE
  202. from .ivi import (
  203. IviIE,
  204. IviCompilationIE
  205. )
  206. from .izlesene import IzleseneIE
  207. from .jadorecettepub import JadoreCettePubIE
  208. from .jeuxvideo import JeuxVideoIE
  209. from .jove import JoveIE
  210. from .jukebox import JukeboxIE
  211. from .jpopsukitv import JpopsukiIE
  212. from .kankan import KankanIE
  213. from .karaoketv import KaraoketvIE
  214. from .keezmovies import KeezMoviesIE
  215. from .khanacademy import KhanAcademyIE
  216. from .kickstarter import KickStarterIE
  217. from .keek import KeekIE
  218. from .kontrtube import KontrTubeIE
  219. from .krasview import KrasViewIE
  220. from .ku6 import Ku6IE
  221. from .la7 import LA7IE
  222. from .laola1tv import Laola1TvIE
  223. from .lifenews import LifeNewsIE
  224. from .liveleak import LiveLeakIE
  225. from .livestream import (
  226. LivestreamIE,
  227. LivestreamOriginalIE,
  228. LivestreamShortenerIE,
  229. )
  230. from .lnkgo import LnkGoIE
  231. from .lrt import LRTIE
  232. from .lynda import (
  233. LyndaIE,
  234. LyndaCourseIE
  235. )
  236. from .m6 import M6IE
  237. from .macgamestore import MacGameStoreIE
  238. from .mailru import MailRuIE
  239. from .malemotion import MalemotionIE
  240. from .mdr import MDRIE
  241. from .metacafe import MetacafeIE
  242. from .metacritic import MetacriticIE
  243. from .mgoon import MgoonIE
  244. from .minhateca import MinhatecaIE
  245. from .ministrygrid import MinistryGridIE
  246. from .mit import TechTVMITIE, MITIE, OCWMITIE
  247. from .mitele import MiTeleIE
  248. from .mixcloud import MixcloudIE
  249. from .mlb import MLBIE
  250. from .mpora import MporaIE
  251. from .moevideo import MoeVideoIE
  252. from .mofosex import MofosexIE
  253. from .mojvideo import MojvideoIE
  254. from .moniker import MonikerIE
  255. from .mooshare import MooshareIE
  256. from .morningstar import MorningstarIE
  257. from .motherless import MotherlessIE
  258. from .motorsport import MotorsportIE
  259. from .movieclips import MovieClipsIE
  260. from .moviezine import MoviezineIE
  261. from .movshare import MovShareIE
  262. from .mtv import (
  263. MTVIE,
  264. MTVServicesEmbeddedIE,
  265. MTVIggyIE,
  266. )
  267. from .muenchentv import MuenchenTVIE
  268. from .musicplayon import MusicPlayOnIE
  269. from .musicvault import MusicVaultIE
  270. from .muzu import MuzuTVIE
  271. from .myspace import MySpaceIE, MySpaceAlbumIE
  272. from .myspass import MySpassIE
  273. from .myvideo import MyVideoIE
  274. from .myvidster import MyVidsterIE
  275. from .naver import NaverIE
  276. from .nba import NBAIE
  277. from .nbc import (
  278. NBCIE,
  279. NBCNewsIE,
  280. )
  281. from .ndr import NDRIE
  282. from .ndtv import NDTVIE
  283. from .netzkino import NetzkinoIE
  284. from .nerdcubed import NerdCubedFeedIE
  285. from .newgrounds import NewgroundsIE
  286. from .newstube import NewstubeIE
  287. from .nextmedia import (
  288. NextMediaIE,
  289. NextMediaActionNewsIE,
  290. AppleDailyRealtimeNewsIE,
  291. AppleDailyAnimationNewsIE
  292. )
  293. from .nfb import NFBIE
  294. from .nfl import NFLIE
  295. from .nhl import NHLIE, NHLVideocenterIE
  296. from .niconico import NiconicoIE, NiconicoPlaylistIE
  297. from .ninegag import NineGagIE
  298. from .noco import NocoIE
  299. from .normalboots import NormalbootsIE
  300. from .nosvideo import NosVideoIE
  301. from .novamov import NovaMovIE
  302. from .nowness import NownessIE
  303. from .nowvideo import NowVideoIE
  304. from .npo import (
  305. NPOIE,
  306. NPOLiveIE,
  307. TegenlichtVproIE,
  308. )
  309. from .nrk import (
  310. NRKIE,
  311. NRKTVIE,
  312. )
  313. from .ntv import NTVIE
  314. from .nytimes import NYTimesIE
  315. from .nuvid import NuvidIE
  316. from .oktoberfesttv import OktoberfestTVIE
  317. from .ooyala import OoyalaIE
  318. from .openfilm import OpenFilmIE
  319. from .orf import (
  320. ORFTVthekIE,
  321. ORFOE1IE,
  322. ORFFM4IE,
  323. )
  324. from .parliamentliveuk import ParliamentLiveUKIE
  325. from .patreon import PatreonIE
  326. from .pbs import PBSIE
  327. from .phoenix import PhoenixIE
  328. from .photobucket import PhotobucketIE
  329. from .planetaplay import PlanetaPlayIE
  330. from .played import PlayedIE
  331. from .playfm import PlayFMIE
  332. from .playvid import PlayvidIE
  333. from .podomatic import PodomaticIE
  334. from .pornhd import PornHdIE
  335. from .pornhub import PornHubIE
  336. from .pornotube import PornotubeIE
  337. from .pornoxo import PornoXOIE
  338. from .promptfile import PromptFileIE
  339. from .prosiebensat1 import ProSiebenSat1IE
  340. from .pyvideo import PyvideoIE
  341. from .quickvid import QuickVidIE
  342. from .radiode import RadioDeIE
  343. from .radiobremen import RadioBremenIE
  344. from .radiofrance import RadioFranceIE
  345. from .rai import RaiIE
  346. from .rbmaradio import RBMARadioIE
  347. from .redtube import RedTubeIE
  348. from .restudy import RestudyIE
  349. from .reverbnation import ReverbNationIE
  350. from .ringtv import RingTVIE
  351. from .ro220 import Ro220IE
  352. from .rottentomatoes import RottenTomatoesIE
  353. from .roxwel import RoxwelIE
  354. from .rtbf import RTBFIE
  355. from .rte import RteIE
  356. from .rtlnl import RtlXlIE
  357. from .rtlnow import RTLnowIE
  358. from .rtl2 import RTL2IE
  359. from .rtp import RTPIE
  360. from .rts import RTSIE
  361. from .rtve import RTVEALaCartaIE, RTVELiveIE
  362. from .ruhd import RUHDIE
  363. from .rutube import (
  364. RutubeIE,
  365. RutubeChannelIE,
  366. RutubeEmbedIE,
  367. RutubeMovieIE,
  368. RutubePersonIE,
  369. )
  370. from .rutv import RUTVIE
  371. from .sapo import SapoIE
  372. from .savefrom import SaveFromIE
  373. from .sbs import SBSIE
  374. from .scivee import SciVeeIE
  375. from .screencast import ScreencastIE
  376. from .screencastomatic import ScreencastOMaticIE
  377. from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
  378. from .servingsys import ServingSysIE
  379. from .sexu import SexuIE
  380. from .sexykarma import SexyKarmaIE
  381. from .shared import SharedIE
  382. from .sharesix import ShareSixIE
  383. from .sina import SinaIE
  384. from .slideshare import SlideshareIE
  385. from .slutload import SlutloadIE
  386. from .smotri import (
  387. SmotriIE,
  388. SmotriCommunityIE,
  389. SmotriUserIE,
  390. SmotriBroadcastIE,
  391. )
  392. from .snotr import SnotrIE
  393. from .sockshare import SockshareIE
  394. from .sohu import SohuIE
  395. from .soundcloud import (
  396. SoundcloudIE,
  397. SoundcloudSetIE,
  398. SoundcloudUserIE,
  399. SoundcloudPlaylistIE
  400. )
  401. from .soundgasm import SoundgasmIE
  402. from .southpark import (
  403. SouthParkIE,
  404. SouthparkDeIE,
  405. )
  406. from .space import SpaceIE
  407. from .spankwire import SpankwireIE
  408. from .spiegel import SpiegelIE, SpiegelArticleIE
  409. from .spiegeltv import SpiegeltvIE
  410. from .spike import SpikeIE
  411. from .sport5 import Sport5IE
  412. from .sportbox import SportBoxIE
  413. from .sportdeutschland import SportDeutschlandIE
  414. from .srmediathek import SRMediathekIE
  415. from .stanfordoc import StanfordOpenClassroomIE
  416. from .steam import SteamIE
  417. from .streamcloud import StreamcloudIE
  418. from .streamcz import StreamCZIE
  419. from .streetvoice import StreetVoiceIE
  420. from .sunporno import SunPornoIE
  421. from .swrmediathek import SWRMediathekIE
  422. from .syfy import SyfyIE
  423. from .sztvhu import SztvHuIE
  424. from .tagesschau import TagesschauIE
  425. from .tapely import TapelyIE
  426. from .tass import TassIE
  427. from .teachertube import (
  428. TeacherTubeIE,
  429. TeacherTubeUserIE,
  430. )
  431. from .teachingchannel import TeachingChannelIE
  432. from .teamcoco import TeamcocoIE
  433. from .techtalks import TechTalksIE
  434. from .ted import TEDIE
  435. from .telebruxelles import TeleBruxellesIE
  436. from .telecinco import TelecincoIE
  437. from .telemb import TeleMBIE
  438. from .teletask import TeleTaskIE
  439. from .tenplay import TenPlayIE
  440. from .testurl import TestURLIE
  441. from .testtube import TestTubeIE
  442. from .tf1 import TF1IE
  443. from .theonion import TheOnionIE
  444. from .theplatform import ThePlatformIE
  445. from .thesixtyone import TheSixtyOneIE
  446. from .thisav import ThisAVIE
  447. from .tinypic import TinyPicIE
  448. from .tlc import TlcIE, TlcDeIE
  449. from .tmz import TMZIE
  450. from .tnaflix import TNAFlixIE
  451. from .thvideo import (
  452. THVideoIE,
  453. THVideoPlaylistIE
  454. )
  455. from .toutv import TouTvIE
  456. from .toypics import ToypicsUserIE, ToypicsIE
  457. from .traileraddict import TrailerAddictIE
  458. from .trilulilu import TriluliluIE
  459. from .trutube import TruTubeIE
  460. from .tube8 import Tube8IE
  461. from .tudou import TudouIE
  462. from .tumblr import TumblrIE
  463. from .tunein import TuneInIE
  464. from .turbo import TurboIE
  465. from .tutv import TutvIE
  466. from .tvigle import TvigleIE
  467. from .tvp import TvpIE, TvpSeriesIE
  468. from .tvplay import TVPlayIE
  469. from .twentyfourvideo import TwentyFourVideoIE
  470. from .twitch import (
  471. TwitchVideoIE,
  472. TwitchChapterIE,
  473. TwitchVodIE,
  474. TwitchProfileIE,
  475. TwitchPastBroadcastsIE,
  476. TwitchBookmarksIE,
  477. TwitchStreamIE,
  478. )
  479. from .ubu import UbuIE
  480. from .udemy import (
  481. UdemyIE,
  482. UdemyCourseIE
  483. )
  484. from .unistra import UnistraIE
  485. from .urort import UrortIE
  486. from .ustream import UstreamIE, UstreamChannelIE
  487. from .vbox7 import Vbox7IE
  488. from .veehd import VeeHDIE
  489. from .veoh import VeohIE
  490. from .vesti import VestiIE
  491. from .vevo import VevoIE
  492. from .vgtv import VGTVIE
  493. from .vh1 import VH1IE
  494. from .vice import ViceIE
  495. from .viddler import ViddlerIE
  496. from .videobam import VideoBamIE
  497. from .videodetective import VideoDetectiveIE
  498. from .videolecturesnet import VideoLecturesNetIE
  499. from .videofyme import VideofyMeIE
  500. from .videomega import VideoMegaIE
  501. from .videopremium import VideoPremiumIE
  502. from .videott import VideoTtIE
  503. from .videoweed import VideoWeedIE
  504. from .vidme import VidmeIE
  505. from .vidzi import VidziIE
  506. from .vier import VierIE, VierVideosIE
  507. from .vimeo import (
  508. VimeoIE,
  509. VimeoAlbumIE,
  510. VimeoChannelIE,
  511. VimeoGroupsIE,
  512. VimeoLikesIE,
  513. VimeoReviewIE,
  514. VimeoUserIE,
  515. VimeoWatchLaterIE,
  516. )
  517. from .vimple import VimpleIE
  518. from .vine import (
  519. VineIE,
  520. VineUserIE,
  521. )
  522. from .viki import VikiIE
  523. from .vk import (
  524. VKIE,
  525. VKUserVideosIE,
  526. )
  527. from .vodlocker import VodlockerIE
  528. from .vporn import VpornIE
  529. from .vrt import VRTIE
  530. from .vube import VubeIE
  531. from .vuclip import VuClipIE
  532. from .vulture import VultureIE
  533. from .walla import WallaIE
  534. from .washingtonpost import WashingtonPostIE
  535. from .wat import WatIE
  536. from .wayofthemaster import WayOfTheMasterIE
  537. from .wdr import (
  538. WDRIE,
  539. WDRMobileIE,
  540. WDRMausIE,
  541. )
  542. from .webofstories import WebOfStoriesIE
  543. from .weibo import WeiboIE
  544. from .wimp import WimpIE
  545. from .wistia import WistiaIE
  546. from .worldstarhiphop import WorldStarHipHopIE
  547. from .wrzuta import WrzutaIE
  548. from .xbef import XBefIE
  549. from .xboxclips import XboxClipsIE
  550. from .xhamster import XHamsterIE
  551. from .xminus import XMinusIE
  552. from .xnxx import XNXXIE
  553. from .xvideos import XVideosIE
  554. from .xtube import XTubeUserIE, XTubeIE
  555. from .xuite import XuiteIE
  556. from .xxxymovies import XXXYMoviesIE
  557. from .yahoo import (
  558. YahooIE,
  559. YahooSearchIE,
  560. )
  561. from .yesjapan import YesJapanIE
  562. from .ynet import YnetIE
  563. from .youjizz import YouJizzIE
  564. from .youku import YoukuIE
  565. from .youporn import YouPornIE
  566. from .yourupload import YourUploadIE
  567. from .youtube import (
  568. YoutubeIE,
  569. YoutubeChannelIE,
  570. YoutubeFavouritesIE,
  571. YoutubeHistoryIE,
  572. YoutubePlaylistIE,
  573. YoutubeRecommendedIE,
  574. YoutubeSearchDateIE,
  575. YoutubeSearchIE,
  576. YoutubeSearchURLIE,
  577. YoutubeShowIE,
  578. YoutubeSubscriptionsIE,
  579. YoutubeTruncatedIDIE,
  580. YoutubeTruncatedURLIE,
  581. YoutubeUserIE,
  582. YoutubeWatchLaterIE,
  583. )
  584. from .zdf import ZDFIE, ZDFChannelIE
  585. from .zingmp3 import (
  586. ZingMp3SongIE,
  587. ZingMp3AlbumIE,
  588. )
  589. _ALL_CLASSES = [
  590. klass
  591. for name, klass in globals().items()
  592. if name.endswith('IE') and name != 'GenericIE'
  593. ]
  594. _ALL_CLASSES.append(GenericIE)
  595. def gen_extractors():
  596. """ Return a list of an instance of every supported extractor.
  597. The order does matter; the first extractor matched is the one handling the URL.
  598. """
  599. return [klass() for klass in _ALL_CLASSES]
  600. def list_extractors(age_limit):
  601. """
  602. Return a list of extractors that are suitable for the given age,
  603. sorted by extractor ID.
  604. """
  605. return sorted(
  606. filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
  607. key=lambda ie: ie.IE_NAME.lower())
  608. def get_info_extractor(ie_name):
  609. """Returns the info extractor class with the given ie_name"""
  610. return globals()[ie_name + 'IE']