__init__.py 18 KB

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