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.

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