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.

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