__init__.py 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  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 LetvIE
  240. from .lifenews import LifeNewsIE
  241. from .liveleak import LiveLeakIE
  242. from .livestream import (
  243. LivestreamIE,
  244. LivestreamOriginalIE,
  245. LivestreamShortenerIE,
  246. )
  247. from .lnkgo import LnkGoIE
  248. from .lrt import LRTIE
  249. from .lynda import (
  250. LyndaIE,
  251. LyndaCourseIE
  252. )
  253. from .m6 import M6IE
  254. from .macgamestore import MacGameStoreIE
  255. from .mailru import MailRuIE
  256. from .malemotion import MalemotionIE
  257. from .mdr import MDRIE
  258. from .metacafe import MetacafeIE
  259. from .metacritic import MetacriticIE
  260. from .mgoon import MgoonIE
  261. from .minhateca import MinhatecaIE
  262. from .ministrygrid import MinistryGridIE
  263. from .mit import TechTVMITIE, MITIE, OCWMITIE
  264. from .mitele import MiTeleIE
  265. from .mixcloud import MixcloudIE
  266. from .mlb import MLBIE
  267. from .mpora import MporaIE
  268. from .moevideo import MoeVideoIE
  269. from .mofosex import MofosexIE
  270. from .mojvideo import MojvideoIE
  271. from .moniker import MonikerIE
  272. from .mooshare import MooshareIE
  273. from .morningstar import MorningstarIE
  274. from .motherless import MotherlessIE
  275. from .motorsport import MotorsportIE
  276. from .movieclips import MovieClipsIE
  277. from .moviezine import MoviezineIE
  278. from .movshare import MovShareIE
  279. from .mtv import (
  280. MTVIE,
  281. MTVServicesEmbeddedIE,
  282. MTVIggyIE,
  283. )
  284. from .muenchentv import MuenchenTVIE
  285. from .musicplayon import MusicPlayOnIE
  286. from .musicvault import MusicVaultIE
  287. from .muzu import MuzuTVIE
  288. from .myspace import MySpaceIE, MySpaceAlbumIE
  289. from .myspass import MySpassIE
  290. from .myvideo import MyVideoIE
  291. from .myvidster import MyVidsterIE
  292. from .nationalgeographic import NationalGeographicIE
  293. from .naver import NaverIE
  294. from .nba import NBAIE
  295. from .nbc import (
  296. NBCIE,
  297. NBCNewsIE,
  298. )
  299. from .ndr import NDRIE
  300. from .ndtv import NDTVIE
  301. from .netzkino import NetzkinoIE
  302. from .nerdcubed import NerdCubedFeedIE
  303. from .nerdist import NerdistIE
  304. from .newgrounds import NewgroundsIE
  305. from .newstube import NewstubeIE
  306. from .nextmedia import (
  307. NextMediaIE,
  308. NextMediaActionNewsIE,
  309. AppleDailyRealtimeNewsIE,
  310. AppleDailyAnimationNewsIE
  311. )
  312. from .nfb import NFBIE
  313. from .nfl import NFLIE
  314. from .nhl import (
  315. NHLIE,
  316. NHLNewsIE,
  317. NHLVideocenterIE,
  318. )
  319. from .niconico import NiconicoIE, NiconicoPlaylistIE
  320. from .ninegag import NineGagIE
  321. from .noco import NocoIE
  322. from .normalboots import NormalbootsIE
  323. from .nosvideo import NosVideoIE
  324. from .novamov import NovaMovIE
  325. from .nowness import NownessIE
  326. from .nowvideo import NowVideoIE
  327. from .npo import (
  328. NPOIE,
  329. NPOLiveIE,
  330. NPORadioIE,
  331. NPORadioFragmentIE,
  332. TegenlichtVproIE,
  333. )
  334. from .nrk import (
  335. NRKIE,
  336. NRKTVIE,
  337. )
  338. from .ntvde import NTVDeIE
  339. from .ntvru import NTVRuIE
  340. from .nytimes import NYTimesIE
  341. from .nuvid import NuvidIE
  342. from .oktoberfesttv import OktoberfestTVIE
  343. from .ooyala import OoyalaIE
  344. from .openfilm import OpenFilmIE
  345. from .orf import (
  346. ORFTVthekIE,
  347. ORFOE1IE,
  348. ORFFM4IE,
  349. )
  350. from .parliamentliveuk import ParliamentLiveUKIE
  351. from .patreon import PatreonIE
  352. from .pbs import PBSIE
  353. from .phoenix import PhoenixIE
  354. from .photobucket import PhotobucketIE
  355. from .planetaplay import PlanetaPlayIE
  356. from .played import PlayedIE
  357. from .playfm import PlayFMIE
  358. from .playvid import PlayvidIE
  359. from .podomatic import PodomaticIE
  360. from .pornhd import PornHdIE
  361. from .pornhub import (
  362. PornHubIE,
  363. PornHubPlaylistIE,
  364. )
  365. from .pornotube import PornotubeIE
  366. from .pornoxo import PornoXOIE
  367. from .promptfile import PromptFileIE
  368. from .prosiebensat1 import ProSiebenSat1IE
  369. from .pyvideo import PyvideoIE
  370. from .quickvid import QuickVidIE
  371. from .r7 import R7IE
  372. from .radiode import RadioDeIE
  373. from .radiobremen import RadioBremenIE
  374. from .radiofrance import RadioFranceIE
  375. from .rai import RaiIE
  376. from .rbmaradio import RBMARadioIE
  377. from .redtube import RedTubeIE
  378. from .restudy import RestudyIE
  379. from .reverbnation import ReverbNationIE
  380. from .ringtv import RingTVIE
  381. from .ro220 import Ro220IE
  382. from .rottentomatoes import RottenTomatoesIE
  383. from .roxwel import RoxwelIE
  384. from .rtbf import RTBFIE
  385. from .rte import RteIE
  386. from .rtlnl import RtlNlIE
  387. from .rtlnow import RTLnowIE
  388. from .rtl2 import RTL2IE
  389. from .rtp import RTPIE
  390. from .rts import RTSIE
  391. from .rtve import RTVEALaCartaIE, RTVELiveIE
  392. from .ruhd import RUHDIE
  393. from .rutube import (
  394. RutubeIE,
  395. RutubeChannelIE,
  396. RutubeEmbedIE,
  397. RutubeMovieIE,
  398. RutubePersonIE,
  399. )
  400. from .rutv import RUTVIE
  401. from .sandia import SandiaIE
  402. from .sapo import SapoIE
  403. from .savefrom import SaveFromIE
  404. from .sbs import SBSIE
  405. from .scivee import SciVeeIE
  406. from .screencast import ScreencastIE
  407. from .screencastomatic import ScreencastOMaticIE
  408. from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
  409. from .servingsys import ServingSysIE
  410. from .sexu import SexuIE
  411. from .sexykarma import SexyKarmaIE
  412. from .shared import SharedIE
  413. from .sharesix import ShareSixIE
  414. from .sina import SinaIE
  415. from .slideshare import SlideshareIE
  416. from .slutload import SlutloadIE
  417. from .smotri import (
  418. SmotriIE,
  419. SmotriCommunityIE,
  420. SmotriUserIE,
  421. SmotriBroadcastIE,
  422. )
  423. from .snotr import SnotrIE
  424. from .sockshare import SockshareIE
  425. from .sohu import SohuIE
  426. from .soundcloud import (
  427. SoundcloudIE,
  428. SoundcloudSetIE,
  429. SoundcloudUserIE,
  430. SoundcloudPlaylistIE
  431. )
  432. from .soundgasm import (
  433. SoundgasmIE,
  434. SoundgasmProfileIE
  435. )
  436. from .southpark import (
  437. SouthParkIE,
  438. SouthparkDeIE,
  439. )
  440. from .space import SpaceIE
  441. from .spankwire import SpankwireIE
  442. from .spiegel import SpiegelIE, SpiegelArticleIE
  443. from .spiegeltv import SpiegeltvIE
  444. from .spike import SpikeIE
  445. from .sport5 import Sport5IE
  446. from .sportbox import SportBoxIE
  447. from .sportdeutschland import SportDeutschlandIE
  448. from .srmediathek import SRMediathekIE
  449. from .stanfordoc import StanfordOpenClassroomIE
  450. from .steam import SteamIE
  451. from .streamcloud import StreamcloudIE
  452. from .streamcz import StreamCZIE
  453. from .streetvoice import StreetVoiceIE
  454. from .sunporno import SunPornoIE
  455. from .svtplay import SVTPlayIE
  456. from .swrmediathek import SWRMediathekIE
  457. from .syfy import SyfyIE
  458. from .sztvhu import SztvHuIE
  459. from .tagesschau import TagesschauIE
  460. from .tapely import TapelyIE
  461. from .tass import TassIE
  462. from .teachertube import (
  463. TeacherTubeIE,
  464. TeacherTubeUserIE,
  465. )
  466. from .teachingchannel import TeachingChannelIE
  467. from .teamcoco import TeamcocoIE
  468. from .techtalks import TechTalksIE
  469. from .ted import TEDIE
  470. from .telebruxelles import TeleBruxellesIE
  471. from .telecinco import TelecincoIE
  472. from .telemb import TeleMBIE
  473. from .teletask import TeleTaskIE
  474. from .tenplay import TenPlayIE
  475. from .testurl import TestURLIE
  476. from .testtube import TestTubeIE
  477. from .tf1 import TF1IE
  478. from .theonion import TheOnionIE
  479. from .theplatform import ThePlatformIE
  480. from .thesixtyone import TheSixtyOneIE
  481. from .thisav import ThisAVIE
  482. from .tinypic import TinyPicIE
  483. from .tlc import TlcIE, TlcDeIE
  484. from .tmz import TMZIE
  485. from .tnaflix import TNAFlixIE
  486. from .thvideo import (
  487. THVideoIE,
  488. THVideoPlaylistIE
  489. )
  490. from .toutv import TouTvIE
  491. from .toypics import ToypicsUserIE, ToypicsIE
  492. from .traileraddict import TrailerAddictIE
  493. from .trilulilu import TriluliluIE
  494. from .trutube import TruTubeIE
  495. from .tube8 import Tube8IE
  496. from .tudou import TudouIE
  497. from .tumblr import TumblrIE
  498. from .tunein import TuneInIE
  499. from .turbo import TurboIE
  500. from .tutv import TutvIE
  501. from .tv4 import TV4IE
  502. from .tvigle import TvigleIE
  503. from .tvp import TvpIE, TvpSeriesIE
  504. from .tvplay import TVPlayIE
  505. from .tweakers import TweakersIE
  506. from .twentyfourvideo import TwentyFourVideoIE
  507. from .twitch import (
  508. TwitchVideoIE,
  509. TwitchChapterIE,
  510. TwitchVodIE,
  511. TwitchProfileIE,
  512. TwitchPastBroadcastsIE,
  513. TwitchBookmarksIE,
  514. TwitchStreamIE,
  515. )
  516. from .ubu import UbuIE
  517. from .udemy import (
  518. UdemyIE,
  519. UdemyCourseIE
  520. )
  521. from .unistra import UnistraIE
  522. from .urort import UrortIE
  523. from .ustream import UstreamIE, UstreamChannelIE
  524. from .vbox7 import Vbox7IE
  525. from .veehd import VeeHDIE
  526. from .veoh import VeohIE
  527. from .vesti import VestiIE
  528. from .vevo import VevoIE
  529. from .vgtv import VGTVIE
  530. from .vh1 import VH1IE
  531. from .vice import ViceIE
  532. from .viddler import ViddlerIE
  533. from .videobam import VideoBamIE
  534. from .videodetective import VideoDetectiveIE
  535. from .videolecturesnet import VideoLecturesNetIE
  536. from .videofyme import VideofyMeIE
  537. from .videomega import VideoMegaIE
  538. from .videopremium import VideoPremiumIE
  539. from .videott import VideoTtIE
  540. from .videoweed import VideoWeedIE
  541. from .vidme import VidmeIE
  542. from .vidzi import VidziIE
  543. from .vier import VierIE, VierVideosIE
  544. from .vimeo import (
  545. VimeoIE,
  546. VimeoAlbumIE,
  547. VimeoChannelIE,
  548. VimeoGroupsIE,
  549. VimeoLikesIE,
  550. VimeoReviewIE,
  551. VimeoUserIE,
  552. VimeoWatchLaterIE,
  553. )
  554. from .vimple import VimpleIE
  555. from .vine import (
  556. VineIE,
  557. VineUserIE,
  558. )
  559. from .viki import VikiIE
  560. from .vk import (
  561. VKIE,
  562. VKUserVideosIE,
  563. )
  564. from .vodlocker import VodlockerIE
  565. from .vporn import VpornIE
  566. from .vrt import VRTIE
  567. from .vube import VubeIE
  568. from .vuclip import VuClipIE
  569. from .vulture import VultureIE
  570. from .walla import WallaIE
  571. from .washingtonpost import WashingtonPostIE
  572. from .wat import WatIE
  573. from .wayofthemaster import WayOfTheMasterIE
  574. from .wdr import (
  575. WDRIE,
  576. WDRMobileIE,
  577. WDRMausIE,
  578. )
  579. from .webofstories import WebOfStoriesIE
  580. from .weibo import WeiboIE
  581. from .wimp import WimpIE
  582. from .wistia import WistiaIE
  583. from .worldstarhiphop import WorldStarHipHopIE
  584. from .wrzuta import WrzutaIE
  585. from .wsj import WSJIE
  586. from .xbef import XBefIE
  587. from .xboxclips import XboxClipsIE
  588. from .xhamster import XHamsterIE
  589. from .xminus import XMinusIE
  590. from .xnxx import XNXXIE
  591. from .xvideos import XVideosIE
  592. from .xtube import XTubeUserIE, XTubeIE
  593. from .xuite import XuiteIE
  594. from .xxxymovies import XXXYMoviesIE
  595. from .yahoo import (
  596. YahooIE,
  597. YahooSearchIE,
  598. )
  599. from .yam import YamIE
  600. from .yesjapan import YesJapanIE
  601. from .ynet import YnetIE
  602. from .youjizz import YouJizzIE
  603. from .youku import YoukuIE
  604. from .youporn import YouPornIE
  605. from .yourupload import YourUploadIE
  606. from .youtube import (
  607. YoutubeIE,
  608. YoutubeChannelIE,
  609. YoutubeFavouritesIE,
  610. YoutubeHistoryIE,
  611. YoutubePlaylistIE,
  612. YoutubeRecommendedIE,
  613. YoutubeSearchDateIE,
  614. YoutubeSearchIE,
  615. YoutubeSearchURLIE,
  616. YoutubeShowIE,
  617. YoutubeSubscriptionsIE,
  618. YoutubeTruncatedIDIE,
  619. YoutubeTruncatedURLIE,
  620. YoutubeUserIE,
  621. YoutubeWatchLaterIE,
  622. )
  623. from .zapiks import ZapiksIE
  624. from .zdf import ZDFIE, ZDFChannelIE
  625. from .zingmp3 import (
  626. ZingMp3SongIE,
  627. ZingMp3AlbumIE,
  628. )
  629. _ALL_CLASSES = [
  630. klass
  631. for name, klass in globals().items()
  632. if name.endswith('IE') and name != 'GenericIE'
  633. ]
  634. _ALL_CLASSES.append(GenericIE)
  635. def gen_extractors():
  636. """ Return a list of an instance of every supported extractor.
  637. The order does matter; the first extractor matched is the one handling the URL.
  638. """
  639. return [klass() for klass in _ALL_CLASSES]
  640. def list_extractors(age_limit):
  641. """
  642. Return a list of extractors that are suitable for the given age,
  643. sorted by extractor ID.
  644. """
  645. return sorted(
  646. filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
  647. key=lambda ie: ie.IE_NAME.lower())
  648. def get_info_extractor(ie_name):
  649. """Returns the info extractor class with the given ie_name"""
  650. return globals()[ie_name + 'IE']