opensubtitles-universal-api
Universal API for opensubtitles.org, works both in Node.js and browsers.
Fork of https://github.com/SlashmanX/OpenSRTJS
Install
$ npm install --save opensubtitles-universal-api
Usage
;const api = 'OSTestUserAgent'; const episodeQuery = imdbid: 'tt0411008' // lost-2004 abc season: 1 episode: 1; api ; const movieQuery = imdbid: 'tt0152930' // taxi 1998; api ;
⚠️ 'OSTestUserAgent' is intended only for the test usage. Use the instruction to get your own token.
Webpack example is available in /examples/browser-webpack
License
MIT © ewnd9