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.

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