subd command
all languages supported by subscene.com are now supported.
var subscene_scraper=require('subscene_scraper');
// for example we will download the subtitle file at current working directory
var path=process.cwd();
//all languages supported by subscene.com are now supported.
subscene_scraper('interstellar','english',path,function(err,savedPath,data){
if(err){
console.log("error"+err);
return;
}
//savedPath returns location of saved subtitle
console.log("Subtitle downloaded at",savedPath);
});