Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

roflmuffin/aniscrape-animebam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)
      })
    })
  })
})

Kudos to contributors

  • Santiago Secades

About

Animebam scraping module for aniscrape

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published