You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

643 lines
17 KiB

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