__init__.py 18 KB

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