__init__.py 18 KB

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