Check nyaa.si to see if an episode if available
$ npm install --save nyaa-available
const nyaa = require('nyaa-available');
nyaa.checkEpisode("Clannad", 23).then((res) => {
console.log(res); // true
});
nyaa.checkEpisode("Clannad", 24).then((res) => {
console.log(res); // false
});
Checks the if the episode given exists. Returns a promise.
Modify the title and return a name more suitable to search in nyaa.si
Make sure that you query the site at an acceptable pace. For example, 1 request/second.
If there is any problem with the package, please create an issue on github. Thanks!