__init__.py 16 KB

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