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.

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