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.

696 lines
19 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 .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 .safari import (
  423. SafariIE,
  424. SafariCourseIE,
  425. )
  426. from .sapo import SapoIE
  427. from .savefrom import SaveFromIE
  428. from .sbs import SBSIE
  429. from .scivee import SciVeeIE
  430. from .screencast import ScreencastIE
  431. from .screencastomatic import ScreencastOMaticIE
  432. from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
  433. from .servingsys import ServingSysIE
  434. from .sexu import SexuIE
  435. from .sexykarma import SexyKarmaIE
  436. from .shared import SharedIE
  437. from .sharesix import ShareSixIE
  438. from .sina import SinaIE
  439. from .slideshare import SlideshareIE
  440. from .slutload import SlutloadIE
  441. from .smotri import (
  442. SmotriIE,
  443. SmotriCommunityIE,
  444. SmotriUserIE,
  445. SmotriBroadcastIE,
  446. )
  447. from .snotr import SnotrIE
  448. from .sockshare import SockshareIE
  449. from .sohu import SohuIE
  450. from .soundcloud import (
  451. SoundcloudIE,
  452. SoundcloudSetIE,
  453. SoundcloudUserIE,
  454. SoundcloudPlaylistIE
  455. )
  456. from .soundgasm import (
  457. SoundgasmIE,
  458. SoundgasmProfileIE
  459. )
  460. from .southpark import (
  461. SouthParkIE,
  462. SouthparkDeIE,
  463. )
  464. from .space import SpaceIE
  465. from .spankwire import SpankwireIE
  466. from .spiegel import SpiegelIE, SpiegelArticleIE
  467. from .spiegeltv import SpiegeltvIE
  468. from .spike import SpikeIE
  469. from .sport5 import Sport5IE
  470. from .sportbox import SportBoxIE
  471. from .sportdeutschland import SportDeutschlandIE
  472. from .srmediathek import SRMediathekIE
  473. from .ssa import SSAIE
  474. from .stanfordoc import StanfordOpenClassroomIE
  475. from .steam import SteamIE
  476. from .streamcloud import StreamcloudIE
  477. from .streamcz import StreamCZIE
  478. from .streetvoice import StreetVoiceIE
  479. from .sunporno import SunPornoIE
  480. from .svtplay import SVTPlayIE
  481. from .swrmediathek import SWRMediathekIE
  482. from .syfy import SyfyIE
  483. from .sztvhu import SztvHuIE
  484. from .tagesschau import TagesschauIE
  485. from .tapely import TapelyIE
  486. from .tass import TassIE
  487. from .teachertube import (
  488. TeacherTubeIE,
  489. TeacherTubeUserIE,
  490. )
  491. from .teachingchannel import TeachingChannelIE
  492. from .teamcoco import TeamcocoIE
  493. from .techtalks import TechTalksIE
  494. from .ted import TEDIE
  495. from .telebruxelles import TeleBruxellesIE
  496. from .telecinco import TelecincoIE
  497. from .telemb import TeleMBIE
  498. from .teletask import TeleTaskIE
  499. from .tenplay import TenPlayIE
  500. from .testurl import TestURLIE
  501. from .testtube import TestTubeIE
  502. from .tf1 import TF1IE
  503. from .theonion import TheOnionIE
  504. from .theplatform import ThePlatformIE
  505. from .thesixtyone import TheSixtyOneIE
  506. from .thisav import ThisAVIE
  507. from .tinypic import TinyPicIE
  508. from .tlc import TlcIE, TlcDeIE
  509. from .tmz import TMZIE
  510. from .tnaflix import TNAFlixIE
  511. from .thvideo import (
  512. THVideoIE,
  513. THVideoPlaylistIE
  514. )
  515. from .toutv import TouTvIE
  516. from .toypics import ToypicsUserIE, ToypicsIE
  517. from .traileraddict import TrailerAddictIE
  518. from .trilulilu import TriluliluIE
  519. from .trutube import TruTubeIE
  520. from .tube8 import Tube8IE
  521. from .tudou import TudouIE
  522. from .tumblr import TumblrIE
  523. from .tunein import TuneInIE
  524. from .turbo import TurboIE
  525. from .tutv import TutvIE
  526. from .tv4 import TV4IE
  527. from .tvigle import TvigleIE
  528. from .tvp import TvpIE, TvpSeriesIE
  529. from .tvplay import TVPlayIE
  530. from .tweakers import TweakersIE
  531. from .twentyfourvideo import TwentyFourVideoIE
  532. from .twentytwotracks import (
  533. TwentyTwoTracksIE,
  534. TwentyTwoTracksGenreIE
  535. )
  536. from .twitch import (
  537. TwitchVideoIE,
  538. TwitchChapterIE,
  539. TwitchVodIE,
  540. TwitchProfileIE,
  541. TwitchPastBroadcastsIE,
  542. TwitchBookmarksIE,
  543. TwitchStreamIE,
  544. )
  545. from .ubu import UbuIE
  546. from .udemy import (
  547. UdemyIE,
  548. UdemyCourseIE
  549. )
  550. from .ultimedia import UltimediaIE
  551. from .unistra import UnistraIE
  552. from .urort import UrortIE
  553. from .ustream import UstreamIE, UstreamChannelIE
  554. from .vbox7 import Vbox7IE
  555. from .veehd import VeeHDIE
  556. from .veoh import VeohIE
  557. from .vessel import VesselIE
  558. from .vesti import VestiIE
  559. from .vevo import VevoIE
  560. from .vgtv import VGTVIE
  561. from .vh1 import VH1IE
  562. from .vice import ViceIE
  563. from .viddler import ViddlerIE
  564. from .videobam import VideoBamIE
  565. from .videodetective import VideoDetectiveIE
  566. from .videolecturesnet import VideoLecturesNetIE
  567. from .videofyme import VideofyMeIE
  568. from .videomega import VideoMegaIE
  569. from .videopremium import VideoPremiumIE
  570. from .videott import VideoTtIE
  571. from .videoweed import VideoWeedIE
  572. from .vidme import VidmeIE
  573. from .vidzi import VidziIE
  574. from .vier import VierIE, VierVideosIE
  575. from .viewster import ViewsterIE
  576. from .vimeo import (
  577. VimeoIE,
  578. VimeoAlbumIE,
  579. VimeoChannelIE,
  580. VimeoGroupsIE,
  581. VimeoLikesIE,
  582. VimeoReviewIE,
  583. VimeoUserIE,
  584. VimeoWatchLaterIE,
  585. )
  586. from .vimple import VimpleIE
  587. from .vine import (
  588. VineIE,
  589. VineUserIE,
  590. )
  591. from .viki import VikiIE
  592. from .vk import (
  593. VKIE,
  594. VKUserVideosIE,
  595. )
  596. from .vodlocker import VodlockerIE
  597. from .vporn import VpornIE
  598. from .vrt import VRTIE
  599. from .vube import VubeIE
  600. from .vuclip import VuClipIE
  601. from .vulture import VultureIE
  602. from .walla import WallaIE
  603. from .washingtonpost import WashingtonPostIE
  604. from .wat import WatIE
  605. from .wayofthemaster import WayOfTheMasterIE
  606. from .wdr import (
  607. WDRIE,
  608. WDRMobileIE,
  609. WDRMausIE,
  610. )
  611. from .webofstories import WebOfStoriesIE
  612. from .weibo import WeiboIE
  613. from .wimp import WimpIE
  614. from .wistia import WistiaIE
  615. from .worldstarhiphop import WorldStarHipHopIE
  616. from .wrzuta import WrzutaIE
  617. from .wsj import WSJIE
  618. from .xbef import XBefIE
  619. from .xboxclips import XboxClipsIE
  620. from .xhamster import XHamsterIE
  621. from .xminus import XMinusIE
  622. from .xnxx import XNXXIE
  623. from .xvideos import XVideosIE
  624. from .xtube import XTubeUserIE, XTubeIE
  625. from .xuite import XuiteIE
  626. from .xxxymovies import XXXYMoviesIE
  627. from .yahoo import (
  628. YahooIE,
  629. YahooSearchIE,
  630. )
  631. from .yam import YamIE
  632. from .yandexmusic import (
  633. YandexMusicTrackIE,
  634. YandexMusicAlbumIE,
  635. YandexMusicPlaylistIE,
  636. )
  637. from .yesjapan import YesJapanIE
  638. from .ynet import YnetIE
  639. from .youjizz import YouJizzIE
  640. from .youku import YoukuIE
  641. from .youporn import YouPornIE
  642. from .yourupload import YourUploadIE
  643. from .youtube import (
  644. YoutubeIE,
  645. YoutubeChannelIE,
  646. YoutubeFavouritesIE,
  647. YoutubeHistoryIE,
  648. YoutubePlaylistIE,
  649. YoutubeRecommendedIE,
  650. YoutubeSearchDateIE,
  651. YoutubeSearchIE,
  652. YoutubeSearchURLIE,
  653. YoutubeShowIE,
  654. YoutubeSubscriptionsIE,
  655. YoutubeTruncatedIDIE,
  656. YoutubeTruncatedURLIE,
  657. YoutubeUserIE,
  658. YoutubeWatchLaterIE,
  659. )
  660. from .zapiks import ZapiksIE
  661. from .zdf import ZDFIE, ZDFChannelIE
  662. from .zingmp3 import (
  663. ZingMp3SongIE,
  664. ZingMp3AlbumIE,
  665. )
  666. _ALL_CLASSES = [
  667. klass
  668. for name, klass in globals().items()
  669. if name.endswith('IE') and name != 'GenericIE'
  670. ]
  671. _ALL_CLASSES.append(GenericIE)
  672. def gen_extractors():
  673. """ Return a list of an instance of every supported extractor.
  674. The order does matter; the first extractor matched is the one handling the URL.
  675. """
  676. return [klass() for klass in _ALL_CLASSES]
  677. def list_extractors(age_limit):
  678. """
  679. Return a list of extractors that are suitable for the given age,
  680. sorted by extractor ID.
  681. """
  682. return sorted(
  683. filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
  684. key=lambda ie: ie.IE_NAME.lower())
  685. def get_info_extractor(ie_name):
  686. """Returns the info extractor class with the given ie_name"""
  687. return globals()[ie_name + 'IE']