NodeJS wrapper for the http://guessit.io API
run git clone https://github.com/pockata/guessit-wrapper.git
run npm install guessit-wrapper
The wrapper uses promises from the q
library
var guessit = require('guessit-wrapper');
var filename = 'doctor_who_2005.6x03.the_curse_of_the_black_spot.720p_hdtv_x264-fov.mkv';
guessit.parseName(filename).then(function (data) {
console.log(data);
});
Make a request to the API:
filename
- The filaname that should be parsed