__init__.py 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  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 .radiobremen import RadioBremenIE
  342. from .radiofrance import RadioFranceIE
  343. from .rai import RaiIE
  344. from .rbmaradio import RBMARadioIE
  345. from .redtube import RedTubeIE
  346. from .restudy import RestudyIE
  347. from .reverbnation import ReverbNationIE
  348. from .ringtv import RingTVIE
  349. from .ro220 import Ro220IE
  350. from .rottentomatoes import RottenTomatoesIE
  351. from .roxwel import RoxwelIE
  352. from .rtbf import RTBFIE
  353. from .rtlnl import RtlXlIE
  354. from .rtlnow import RTLnowIE
  355. from .rtp import RTPIE
  356. from .rts import RTSIE
  357. from .rtve import RTVEALaCartaIE, RTVELiveIE
  358. from .ruhd import RUHDIE
  359. from .rutube import (
  360. RutubeIE,
  361. RutubeChannelIE,
  362. RutubeEmbedIE,
  363. RutubeMovieIE,
  364. RutubePersonIE,
  365. )
  366. from .rutv import RUTVIE
  367. from .sapo import SapoIE
  368. from .savefrom import SaveFromIE
  369. from .sbs import SBSIE
  370. from .scivee import SciVeeIE
  371. from .screencast import ScreencastIE
  372. from .screencastomatic import ScreencastOMaticIE
  373. from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
  374. from .servingsys import ServingSysIE
  375. from .sexu import SexuIE
  376. from .sexykarma import SexyKarmaIE
  377. from .shared import SharedIE
  378. from .sharesix import ShareSixIE
  379. from .sina import SinaIE
  380. from .slideshare import SlideshareIE
  381. from .slutload import SlutloadIE
  382. from .smotri import (
  383. SmotriIE,
  384. SmotriCommunityIE,
  385. SmotriUserIE,
  386. SmotriBroadcastIE,
  387. )
  388. from .snotr import SnotrIE
  389. from .sockshare import SockshareIE
  390. from .sohu import SohuIE
  391. from .soulanime import (
  392. SoulAnimeWatchingIE,
  393. SoulAnimeSeriesIE
  394. )
  395. from .soundcloud import (
  396. SoundcloudIE,
  397. SoundcloudSetIE,
  398. SoundcloudUserIE,
  399. SoundcloudPlaylistIE
  400. )
  401. from .soundgasm import SoundgasmIE
  402. from .southpark import (
  403. SouthParkIE,
  404. SouthparkDeIE,
  405. )
  406. from .space import SpaceIE
  407. from .spankwire import SpankwireIE
  408. from .spiegel import SpiegelIE, SpiegelArticleIE
  409. from .spiegeltv import SpiegeltvIE
  410. from .spike import SpikeIE
  411. from .sport5 import Sport5IE
  412. from .sportbox import SportBoxIE
  413. from .sportdeutschland import SportDeutschlandIE
  414. from .srmediathek import SRMediathekIE
  415. from .stanfordoc import StanfordOpenClassroomIE
  416. from .steam import SteamIE
  417. from .streamcloud import StreamcloudIE
  418. from .streamcz import StreamCZIE
  419. from .sunporno import SunPornoIE
  420. from .swrmediathek import SWRMediathekIE
  421. from .syfy import SyfyIE
  422. from .sztvhu import SztvHuIE
  423. from .tagesschau import TagesschauIE
  424. from .tapely import TapelyIE
  425. from .tass import TassIE
  426. from .teachertube import (
  427. TeacherTubeIE,
  428. TeacherTubeUserIE,
  429. )
  430. from .teachingchannel import TeachingChannelIE
  431. from .teamcoco import TeamcocoIE
  432. from .techtalks import TechTalksIE
  433. from .ted import TEDIE
  434. from .telebruxelles import TeleBruxellesIE
  435. from .telecinco import TelecincoIE
  436. from .telemb import TeleMBIE
  437. from .teletask import TeleTaskIE
  438. from .tenplay import TenPlayIE
  439. from .testurl import TestURLIE
  440. from .tf1 import TF1IE
  441. from .theonion import TheOnionIE
  442. from .theplatform import ThePlatformIE
  443. from .thesixtyone import TheSixtyOneIE
  444. from .thisav import ThisAVIE
  445. from .tinypic import TinyPicIE
  446. from .tlc import TlcIE, TlcDeIE
  447. from .tmz import TMZIE
  448. from .tnaflix import TNAFlixIE
  449. from .thvideo import (
  450. THVideoIE,
  451. THVideoPlaylistIE
  452. )
  453. from .toutv import TouTvIE
  454. from .toypics import ToypicsUserIE, ToypicsIE
  455. from .traileraddict import TrailerAddictIE
  456. from .trilulilu import TriluliluIE
  457. from .trutube import TruTubeIE
  458. from .tube8 import Tube8IE
  459. from .tudou import TudouIE
  460. from .tumblr import TumblrIE
  461. from .tunein import TuneInIE
  462. from .turbo import TurboIE
  463. from .tutv import TutvIE
  464. from .tvigle import TvigleIE
  465. from .tvp import TvpIE
  466. from .tvplay import TVPlayIE
  467. from .twentyfourvideo import TwentyFourVideoIE
  468. from .twitch import TwitchIE
  469. from .ubu import UbuIE
  470. from .udemy import (
  471. UdemyIE,
  472. UdemyCourseIE
  473. )
  474. from .unistra import UnistraIE
  475. from .urort import UrortIE
  476. from .ustream import UstreamIE, UstreamChannelIE
  477. from .vbox7 import Vbox7IE
  478. from .veehd import VeeHDIE
  479. from .veoh import VeohIE
  480. from .vesti import VestiIE
  481. from .vevo import VevoIE
  482. from .vgtv import VGTVIE
  483. from .vh1 import VH1IE
  484. from .vice import ViceIE
  485. from .viddler import ViddlerIE
  486. from .videobam import VideoBamIE
  487. from .videodetective import VideoDetectiveIE
  488. from .videolecturesnet import VideoLecturesNetIE
  489. from .videofun import VideoFunIE
  490. from .videofyme import VideofyMeIE
  491. from .videomega import VideoMegaIE
  492. from .videopremium import VideoPremiumIE
  493. from .videott import VideoTtIE
  494. from .videoweed import VideoWeedIE
  495. from .vidme import VidmeIE
  496. from .vidzi import VidziIE
  497. from .vier import VierIE, VierVideosIE
  498. from .vimeo import (
  499. VimeoIE,
  500. VimeoAlbumIE,
  501. VimeoChannelIE,
  502. VimeoGroupsIE,
  503. VimeoLikesIE,
  504. VimeoReviewIE,
  505. VimeoUserIE,
  506. VimeoWatchLaterIE,
  507. )
  508. from .vimple import VimpleIE
  509. from .vine import (
  510. VineIE,
  511. VineUserIE,
  512. )
  513. from .viki import VikiIE
  514. from .vk import (
  515. VKIE,
  516. VKUserVideosIE,
  517. )
  518. from .vodlocker import VodlockerIE
  519. from .vporn import VpornIE
  520. from .vrt import VRTIE
  521. from .vube import VubeIE
  522. from .vuclip import VuClipIE
  523. from .vulture import VultureIE
  524. from .walla import WallaIE
  525. from .washingtonpost import WashingtonPostIE
  526. from .wat import WatIE
  527. from .wayofthemaster import WayOfTheMasterIE
  528. from .wdr import (
  529. WDRIE,
  530. WDRMobileIE,
  531. WDRMausIE,
  532. )
  533. from .weibo import WeiboIE
  534. from .wimp import WimpIE
  535. from .wistia import WistiaIE
  536. from .worldstarhiphop import WorldStarHipHopIE
  537. from .wrzuta import WrzutaIE
  538. from .xbef import XBefIE
  539. from .xboxclips import XboxClipsIE
  540. from .xhamster import XHamsterIE
  541. from .xminus import XMinusIE
  542. from .xnxx import XNXXIE
  543. from .xvideos import XVideosIE
  544. from .xtube import XTubeUserIE, XTubeIE
  545. from .xxxymovies import XXXYMoviesIE
  546. from .yahoo import (
  547. YahooIE,
  548. YahooSearchIE,
  549. )
  550. from .yesjapan import YesJapanIE
  551. from .ynet import YnetIE
  552. from .youjizz import YouJizzIE
  553. from .youku import YoukuIE
  554. from .youporn import YouPornIE
  555. from .yourupload import YourUploadIE
  556. from .youtube import (
  557. YoutubeIE,
  558. YoutubeChannelIE,
  559. YoutubeFavouritesIE,
  560. YoutubeHistoryIE,
  561. YoutubePlaylistIE,
  562. YoutubeRecommendedIE,
  563. YoutubeSearchDateIE,
  564. YoutubeSearchIE,
  565. YoutubeSearchURLIE,
  566. YoutubeShowIE,
  567. YoutubeSubscriptionsIE,
  568. YoutubeTopListIE,
  569. YoutubeTruncatedIDIE,
  570. YoutubeTruncatedURLIE,
  571. YoutubeUserIE,
  572. YoutubeWatchLaterIE,
  573. )
  574. from .zdf import ZDFIE, ZDFChannelIE
  575. from .zingmp3 import (
  576. ZingMp3SongIE,
  577. ZingMp3AlbumIE,
  578. )
  579. _ALL_CLASSES = [
  580. klass
  581. for name, klass in globals().items()
  582. if name.endswith('IE') and name != 'GenericIE'
  583. ]
  584. _ALL_CLASSES.append(GenericIE)
  585. def gen_extractors():
  586. """ Return a list of an instance of every supported extractor.
  587. The order does matter; the first extractor matched is the one handling the URL.
  588. """
  589. return [klass() for klass in _ALL_CLASSES]
  590. def get_info_extractor(ie_name):
  591. """Returns the info extractor class with the given ie_name"""
  592. return globals()[ie_name + 'IE']