__init__.py 17 KB

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