https://github.com/tiagodanin/subtitlesx
CLI Tool to download subtitles for movies and series.
https://github.com/tiagodanin/subtitlesx
cli download-subtitles subtitles subtitles-search
Last synced: about 1 month ago
JSON representation
CLI Tool to download subtitles for movies and series.
- Host: GitHub
- URL: https://github.com/tiagodanin/subtitlesx
- Owner: TiagoDanin
- License: gpl-3.0
- Created: 2017-12-10T12:51:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-21T18:35:20.000Z (9 months ago)
- Last Synced: 2024-10-03T11:41:40.425Z (8 months ago)
- Topics: cli, download-subtitles, subtitles, subtitles-search
- Language: JavaScript
- Homepage: https://TiagoDanin.github.io/SubtitlesX/
- Size: 296 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SubtitlesX
[](https://npmjs.org/package/subtitlesx)
[](https://npmjs.org/package/subtitlesx)
[](https://npmjs.org/package/subtitlesx)
[](https://travis-ci.org/TiagoDanin/SubtitlesX)CLI to download subtitles for movies and series.
## Installation
Module available through the
[npm registry](https://www.npmjs.com/). It can be installed using the
[`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally)
or
[`yarn`](https://yarnpkg.com/en/)
command line tools.```sh
# NPM
npm install subtitlesx --save
# Or Using Yarn
yarn add subtitlesx
```## Documentation
### CLIRun `subtitlesx --help`
### API
- `getSubtitles(dir, name, langId, userAgent)`e.g `getSubtitles('/root/movies/', 'Interstellar.mp4', 'en', 'TemporaryUserAgent')`
## Tests
To run the test suite, first install the dependencies, then run `test`:```sh
# NPM
npm test
# Or Using Yarn
yarn test
```## Dependencies
- [caporal](https://ghub.io/caporal): A full-featured framework for building command line applications (cli) with node.js
- [opensubtitles-api](https://ghub.io/opensubtitles-api): opensubtitles.org api wrapper
- [request](https://ghub.io/request): Simplified HTTP request client.
- [request-promise-native](https://ghub.io/request-promise-native): The simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.
- [zlib](https://ghub.io/zlib): Simple, synchronous deflate/inflate for buffers## Contributors
Pull requests and stars are always welcome. For bugs and feature requests, please [create an issue](https://github.com/TiagoDanin/SubtitlesX/issues). [List of all contributors](https://github.com/TiagoDanin/SubtitlesX/graphs/contributors).## License
[GPL-3.0](LICENSE)