Miss any of our Open RFC calls?Watch the recordings here! »

aniscrape-animebam

0.1.3 • Public • Published

aniscrape-animebam

aniscrape-animebam is a provider for the aniscrape node module.

By including it you get to do awesome things with anime sites, such as retrieve anime pages, episode listings and ultimately video links. See here for more details.

var Aniscrape = require('aniscrape'); // Check source on GitHub for more info.
var animebam = require('aniscrape-animebam'); 
 
var scraper = new Aniscrape();
scraper.use(animebam)
.then(function() {
  scraper.search('Haikyuu', 'animebam').then(function (results) {
    console.log(results)
    scraper.fetchSeries(results[0]).then(function(anime) {
      console.log(anime)
      scraper.fetchVideo(anime.episodes[1]).then(function(video) {
        // Video is a list of direct video links and quality labels.
        console.log(video)
      })
    })
  })
})

Keywords

Install

npm i aniscrape-animebam

DownloadsWeekly Downloads

9

Version

0.1.3

License

MIT

Last publish

Collaborators

  • avatar