__init__.py 17 KB

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