__init__.py 16 KB

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