__init__.py 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  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 .giga import GigaIE
  162. from .glide import GlideIE
  163. from .globo import GloboIE
  164. from .godtube import GodTubeIE
  165. from .goldenmoustache import GoldenMoustacheIE
  166. from .golem import GolemIE
  167. from .googleplus import GooglePlusIE
  168. from .googlesearch import GoogleSearchIE
  169. from .gorillavid import GorillaVidIE
  170. from .goshgay import GoshgayIE
  171. from .grooveshark import GroovesharkIE
  172. from .groupon import GrouponIE
  173. from .hark import HarkIE
  174. from .heise import HeiseIE
  175. from .hellporno import HellPornoIE
  176. from .helsinki import HelsinkiIE
  177. from .hentaistigma import HentaiStigmaIE
  178. from .hitbox import HitboxIE, HitboxLiveIE
  179. from .hornbunny import HornBunnyIE
  180. from .hostingbulk import HostingBulkIE
  181. from .hotnewhiphop import HotNewHipHopIE
  182. from .howcast import HowcastIE
  183. from .howstuffworks import HowStuffWorksIE
  184. from .huffpost import HuffPostIE
  185. from .hypem import HypemIE
  186. from .iconosquare import IconosquareIE
  187. from .ign import IGNIE, OneUPIE
  188. from .imdb import (
  189. ImdbIE,
  190. ImdbListIE
  191. )
  192. from .ina import InaIE
  193. from .infoq import InfoQIE
  194. from .instagram import InstagramIE, InstagramUserIE
  195. from .internetvideoarchive import InternetVideoArchiveIE
  196. from .iprima import IPrimaIE
  197. from .ivi import (
  198. IviIE,
  199. IviCompilationIE
  200. )
  201. from .izlesene import IzleseneIE
  202. from .jadorecettepub import JadoreCettePubIE
  203. from .jeuxvideo import JeuxVideoIE
  204. from .jove import JoveIE
  205. from .jukebox import JukeboxIE
  206. from .jpopsukitv import JpopsukiIE
  207. from .kankan import KankanIE
  208. from .keezmovies import KeezMoviesIE
  209. from .khanacademy import KhanAcademyIE
  210. from .kickstarter import KickStarterIE
  211. from .keek import KeekIE
  212. from .kontrtube import KontrTubeIE
  213. from .krasview import KrasViewIE
  214. from .ku6 import Ku6IE
  215. from .la7 import LA7IE
  216. from .laola1tv import Laola1TvIE
  217. from .lifenews import LifeNewsIE
  218. from .liveleak import LiveLeakIE
  219. from .livestream import (
  220. LivestreamIE,
  221. LivestreamOriginalIE,
  222. LivestreamShortenerIE,
  223. )
  224. from .lrt import LRTIE
  225. from .lynda import (
  226. LyndaIE,
  227. LyndaCourseIE
  228. )
  229. from .m6 import M6IE
  230. from .macgamestore import MacGameStoreIE
  231. from .mailru import MailRuIE
  232. from .malemotion import MalemotionIE
  233. from .mdr import MDRIE
  234. from .metacafe import MetacafeIE
  235. from .metacritic import MetacriticIE
  236. from .mgoon import MgoonIE
  237. from .minhateca import MinhatecaIE
  238. from .ministrygrid import MinistryGridIE
  239. from .mit import TechTVMITIE, MITIE, OCWMITIE
  240. from .mitele import MiTeleIE
  241. from .mixcloud import MixcloudIE
  242. from .mlb import MLBIE
  243. from .mpora import MporaIE
  244. from .moevideo import MoeVideoIE
  245. from .mofosex import MofosexIE
  246. from .mojvideo import MojvideoIE
  247. from .moniker import MonikerIE
  248. from .mooshare import MooshareIE
  249. from .morningstar import MorningstarIE
  250. from .motherless import MotherlessIE
  251. from .motorsport import MotorsportIE
  252. from .movieclips import MovieClipsIE
  253. from .moviezine import MoviezineIE
  254. from .movshare import MovShareIE
  255. from .mtv import (
  256. MTVIE,
  257. MTVServicesEmbeddedIE,
  258. MTVIggyIE,
  259. )
  260. from .muenchentv import MuenchenTVIE
  261. from .musicplayon import MusicPlayOnIE
  262. from .musicvault import MusicVaultIE
  263. from .muzu import MuzuTVIE
  264. from .myspace import MySpaceIE, MySpaceAlbumIE
  265. from .myspass import MySpassIE
  266. from .myvideo import MyVideoIE
  267. from .myvidster import MyVidsterIE
  268. from .naver import NaverIE
  269. from .nba import NBAIE
  270. from .nbc import (
  271. NBCIE,
  272. NBCNewsIE,
  273. )
  274. from .ndr import NDRIE
  275. from .ndtv import NDTVIE
  276. from .nerdcubed import NerdCubedFeedIE
  277. from .newgrounds import NewgroundsIE
  278. from .newstube import NewstubeIE
  279. from .nfb import NFBIE
  280. from .nfl import NFLIE
  281. from .nhl import NHLIE, NHLVideocenterIE
  282. from .niconico import NiconicoIE, NiconicoPlaylistIE
  283. from .ninegag import NineGagIE
  284. from .noco import NocoIE
  285. from .normalboots import NormalbootsIE
  286. from .nosvideo import NosVideoIE
  287. from .novamov import NovaMovIE
  288. from .nowness import NownessIE
  289. from .nowvideo import NowVideoIE
  290. from .npo import (
  291. NPOIE,
  292. TegenlichtVproIE,
  293. )
  294. from .nrk import (
  295. NRKIE,
  296. NRKTVIE,
  297. )
  298. from .ntv import NTVIE
  299. from .nytimes import NYTimesIE
  300. from .nuvid import NuvidIE
  301. from .oktoberfesttv import OktoberfestTVIE
  302. from .ooyala import OoyalaIE
  303. from .openfilm import OpenFilmIE
  304. from .orf import (
  305. ORFTVthekIE,
  306. ORFOE1IE,
  307. ORFFM4IE,
  308. )
  309. from .parliamentliveuk import ParliamentLiveUKIE
  310. from .patreon import PatreonIE
  311. from .pbs import PBSIE
  312. from .phoenix import PhoenixIE
  313. from .photobucket import PhotobucketIE
  314. from .planetaplay import PlanetaPlayIE
  315. from .played import PlayedIE
  316. from .playfm import PlayFMIE
  317. from .playvid import PlayvidIE
  318. from .podomatic import PodomaticIE
  319. from .pornhd import PornHdIE
  320. from .pornhub import PornHubIE
  321. from .pornotube import PornotubeIE
  322. from .pornoxo import PornoXOIE
  323. from .promptfile import PromptFileIE
  324. from .prosiebensat1 import ProSiebenSat1IE
  325. from .pyvideo import PyvideoIE
  326. from .quickvid import QuickVidIE
  327. from .radiode import RadioDeIE
  328. from .radiobremen import RadioBremenIE
  329. from .radiofrance import RadioFranceIE
  330. from .rai import RaiIE
  331. from .rbmaradio import RBMARadioIE
  332. from .redtube import RedTubeIE
  333. from .restudy import RestudyIE
  334. from .reverbnation import ReverbNationIE
  335. from .ringtv import RingTVIE
  336. from .ro220 import Ro220IE
  337. from .rottentomatoes import RottenTomatoesIE
  338. from .roxwel import RoxwelIE
  339. from .rtbf import RTBFIE
  340. from .rtlnl import RtlXlIE
  341. from .rtlnow import RTLnowIE
  342. from .rtp import RTPIE
  343. from .rts import RTSIE
  344. from .rtve import RTVEALaCartaIE, RTVELiveIE
  345. from .ruhd import RUHDIE
  346. from .rutube import (
  347. RutubeIE,
  348. RutubeChannelIE,
  349. RutubeEmbedIE,
  350. RutubeMovieIE,
  351. RutubePersonIE,
  352. )
  353. from .rutv import RUTVIE
  354. from .sapo import SapoIE
  355. from .savefrom import SaveFromIE
  356. from .sbs import SBSIE
  357. from .scivee import SciVeeIE
  358. from .screencast import ScreencastIE
  359. from .screencastomatic import ScreencastOMaticIE
  360. from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
  361. from .servingsys import ServingSysIE
  362. from .sexu import SexuIE
  363. from .sexykarma import SexyKarmaIE
  364. from .shared import SharedIE
  365. from .sharesix import ShareSixIE
  366. from .sina import SinaIE
  367. from .slideshare import SlideshareIE
  368. from .slutload import SlutloadIE
  369. from .smotri import (
  370. SmotriIE,
  371. SmotriCommunityIE,
  372. SmotriUserIE,
  373. SmotriBroadcastIE,
  374. )
  375. from .snotr import SnotrIE
  376. from .sockshare import SockshareIE
  377. from .sohu import SohuIE
  378. from .soundcloud import (
  379. SoundcloudIE,
  380. SoundcloudSetIE,
  381. SoundcloudUserIE,
  382. SoundcloudPlaylistIE
  383. )
  384. from .soundgasm import SoundgasmIE
  385. from .southpark import (
  386. SouthParkIE,
  387. SouthparkDeIE,
  388. )
  389. from .space import SpaceIE
  390. from .spankwire import SpankwireIE
  391. from .spiegel import SpiegelIE, SpiegelArticleIE
  392. from .spiegeltv import SpiegeltvIE
  393. from .spike import SpikeIE
  394. from .sport5 import Sport5IE
  395. from .sportbox import SportBoxIE
  396. from .sportdeutschland import SportDeutschlandIE
  397. from .srmediathek import SRMediathekIE
  398. from .stanfordoc import StanfordOpenClassroomIE
  399. from .steam import SteamIE
  400. from .streamcloud import StreamcloudIE
  401. from .streamcz import StreamCZIE
  402. from .sunporno import SunPornoIE
  403. from .swrmediathek import SWRMediathekIE
  404. from .syfy import SyfyIE
  405. from .sztvhu import SztvHuIE
  406. from .tagesschau import TagesschauIE
  407. from .tapely import TapelyIE
  408. from .tass import TassIE
  409. from .teachertube import (
  410. TeacherTubeIE,
  411. TeacherTubeUserIE,
  412. )
  413. from .teachingchannel import TeachingChannelIE
  414. from .teamcoco import TeamcocoIE
  415. from .techtalks import TechTalksIE
  416. from .ted import TEDIE
  417. from .telebruxelles import TeleBruxellesIE
  418. from .telecinco import TelecincoIE
  419. from .telemb import TeleMBIE
  420. from .teletask import TeleTaskIE
  421. from .tenplay import TenPlayIE
  422. from .testurl import TestURLIE
  423. from .tf1 import TF1IE
  424. from .theonion import TheOnionIE
  425. from .theplatform import ThePlatformIE
  426. from .thesixtyone import TheSixtyOneIE
  427. from .thisav import ThisAVIE
  428. from .tinypic import TinyPicIE
  429. from .tlc import TlcIE, TlcDeIE
  430. from .tmz import TMZIE
  431. from .tnaflix import TNAFlixIE
  432. from .thvideo import (
  433. THVideoIE,
  434. THVideoPlaylistIE
  435. )
  436. from .toutv import TouTvIE
  437. from .toypics import ToypicsUserIE, ToypicsIE
  438. from .traileraddict import TrailerAddictIE
  439. from .trilulilu import TriluliluIE
  440. from .trutube import TruTubeIE
  441. from .tube8 import Tube8IE
  442. from .tudou import TudouIE
  443. from .tumblr import TumblrIE
  444. from .tunein import TuneInIE
  445. from .turbo import TurboIE
  446. from .tutv import TutvIE
  447. from .tvigle import TvigleIE
  448. from .tvp import TvpIE
  449. from .tvplay import TVPlayIE
  450. from .twentyfourvideo import TwentyFourVideoIE
  451. from .twitch import TwitchIE
  452. from .ubu import UbuIE
  453. from .udemy import (
  454. UdemyIE,
  455. UdemyCourseIE
  456. )
  457. from .unistra import UnistraIE
  458. from .urort import UrortIE
  459. from .ustream import UstreamIE, UstreamChannelIE
  460. from .vbox7 import Vbox7IE
  461. from .veehd import VeeHDIE
  462. from .veoh import VeohIE
  463. from .vesti import VestiIE
  464. from .vevo import VevoIE
  465. from .vgtv import VGTVIE
  466. from .vh1 import VH1IE
  467. from .vice import ViceIE
  468. from .viddler import ViddlerIE
  469. from .videobam import VideoBamIE
  470. from .videodetective import VideoDetectiveIE
  471. from .videolecturesnet import VideoLecturesNetIE
  472. from .videofyme import VideofyMeIE
  473. from .videomega import VideoMegaIE
  474. from .videopremium import VideoPremiumIE
  475. from .videott import VideoTtIE
  476. from .videoweed import VideoWeedIE
  477. from .vidme import VidmeIE
  478. from .vidzi import VidziIE
  479. from .vier import VierIE, VierVideosIE
  480. from .vimeo import (
  481. VimeoIE,
  482. VimeoAlbumIE,
  483. VimeoChannelIE,
  484. VimeoGroupsIE,
  485. VimeoLikesIE,
  486. VimeoReviewIE,
  487. VimeoUserIE,
  488. VimeoWatchLaterIE,
  489. )
  490. from .vimple import VimpleIE
  491. from .vine import (
  492. VineIE,
  493. VineUserIE,
  494. )
  495. from .viki import VikiIE
  496. from .vk import (
  497. VKIE,
  498. VKUserVideosIE,
  499. )
  500. from .vodlocker import VodlockerIE
  501. from .vporn import VpornIE
  502. from .vrt import VRTIE
  503. from .vube import VubeIE
  504. from .vuclip import VuClipIE
  505. from .vulture import VultureIE
  506. from .walla import WallaIE
  507. from .washingtonpost import WashingtonPostIE
  508. from .wat import WatIE
  509. from .wayofthemaster import WayOfTheMasterIE
  510. from .wdr import (
  511. WDRIE,
  512. WDRMobileIE,
  513. WDRMausIE,
  514. )
  515. from .webofstories import WebOfStoriesIE
  516. from .weibo import WeiboIE
  517. from .wimp import WimpIE
  518. from .wistia import WistiaIE
  519. from .worldstarhiphop import WorldStarHipHopIE
  520. from .wrzuta import WrzutaIE
  521. from .xbef import XBefIE
  522. from .xboxclips import XboxClipsIE
  523. from .xhamster import XHamsterIE
  524. from .xminus import XMinusIE
  525. from .xnxx import XNXXIE
  526. from .xvideos import XVideosIE
  527. from .xtube import XTubeUserIE, XTubeIE
  528. from .xxxymovies import XXXYMoviesIE
  529. from .yahoo import (
  530. YahooIE,
  531. YahooSearchIE,
  532. )
  533. from .yesjapan import YesJapanIE
  534. from .ynet import YnetIE
  535. from .youjizz import YouJizzIE
  536. from .youku import YoukuIE
  537. from .youporn import YouPornIE
  538. from .yourupload import YourUploadIE
  539. from .youtube import (
  540. YoutubeIE,
  541. YoutubeChannelIE,
  542. YoutubeFavouritesIE,
  543. YoutubeHistoryIE,
  544. YoutubePlaylistIE,
  545. YoutubeRecommendedIE,
  546. YoutubeSearchDateIE,
  547. YoutubeSearchIE,
  548. YoutubeSearchURLIE,
  549. YoutubeShowIE,
  550. YoutubeSubscriptionsIE,
  551. YoutubeTruncatedIDIE,
  552. YoutubeTruncatedURLIE,
  553. YoutubeUserIE,
  554. YoutubeWatchLaterIE,
  555. )
  556. from .zdf import ZDFIE, ZDFChannelIE
  557. from .zingmp3 import (
  558. ZingMp3SongIE,
  559. ZingMp3AlbumIE,
  560. )
  561. _ALL_CLASSES = [
  562. klass
  563. for name, klass in globals().items()
  564. if name.endswith('IE') and name != 'GenericIE'
  565. ]
  566. _ALL_CLASSES.append(GenericIE)
  567. def gen_extractors():
  568. """ Return a list of an instance of every supported extractor.
  569. The order does matter; the first extractor matched is the one handling the URL.
  570. """
  571. return [klass() for klass in _ALL_CLASSES]
  572. def get_info_extractor(ie_name):
  573. """Returns the info extractor class with the given ie_name"""
  574. return globals()[ie_name + 'IE']