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.

658 lines
18 KiB

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