Node.js client for popular brazilian subtitle site legendas.tv.
$ npm install node-legendastv
var legendastv = require('node-legendastv')
termo
a string used for find series. This is required. Ex: "game of thrones", "the mentalist S06E01", etc.opts
an object with the following arguments:-
idioma
a integer indicating the subtitle language. Could be one of the following:1
Portuguese-BR2
English3
Spanish4
French5
German6
Japanese7
Danish8
Norwegian9
Swedish10
Portuguese-PT11
Arabic12
Czech13
Chinese14
Korean15
Bulgarian16
Italian17
Polish
-
tipo_legenda
a string indicating the subtitle type. Could be one of the following:d
Destaquep
Pack
-
proxy
a string representing a HTTP proxy to be used.
-
var legendastv = require('node-legendastv');
legendastv.search('game of thrones S04E01', function(err, results) {
if (err) {
console.log(err);
} else {
console.log(results);
}
});
MIT