Skip to content

xnoname79/yifysubtitles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XO code style Build Status

yifysubtitles

Download and convert subtitles in VTT format for YTS movies

Install

$ npm i yifysubtitles-to-gs --save

Usage

const yifysubtitles2GS = require('yifysubtitles-to-gs');

const saveSubtitles = await yifysubtitles2GS({storage: 'storage', bucketName: 'bucketName'});
const results = await saveSubtitles('tt1156398', {
  langs: ['en', 'vi'],
  format: 'vtt' // Default: vtt (Only support vtt format)
})
console.log(results)
/*
[
  {
    lang: 'english',
    langShort: 'en',
    path: 'https://[bucket_name].storage.googleapis.com/[file_name]',
    fileName: 'Zombieland.2009.720p.BrRip.x264-YIFY.vtt'
  },
  ...
]
*/

License

MIT © Mrdotb

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%