ytssubs
A Node.js API for yifysubtitles.com
Installation
npm install ytssubs
Usage
Get subtitles list by IMDB id
const ytssubs = ytssubs /*{ langs: [ 'Arabic', 'Brazilian Portuguese', 'Chinese', 'Dutch', 'English', 'Farsi/Persian', 'Finnish', 'French', 'Greek', 'Hebrew', 'Indonesian', 'Italian', 'Korean', 'Malay', 'Norwegian', 'Romanian', 'Serbian', 'Spanish' ], subs_count: 25, subs: [ { lang: 'English', name: 'Rango', url: 'http://www.yifysubtitles.com/subtitle/rango-english-yify-1787.zip', uploader: 'sub', rating: '6' }, { lang: 'Arabic', name: 'Rango', url: 'http://www.yifysubtitles.com/subtitle/rango-arabic-yify-1786.zip', uploader: 'sub', rating: '3' } ...etc ]}*/
Download subtitles by URL
const ytssubs = ytssubs /*You have to provide a file pathThe subtitle is downloaded as .srt.*/
Packages
License
This project is licensed under The MIT License (MIT). Which means that you can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software. But you always need to state that Mike Kokkolios is the original author of this template.
Project is developed and maintained by Mike Kokkolios.