jeydin21-anime-scraper
v1.4.0
Published
very easy to use package to scrap anime from gogoanime.ai
Downloads
10
Maintainers
Readme
JEYDIN21 ANIME SCRAPER
A scraper to scrap anime from gogoanime
Search And Scrap
const Anime = require("jeydin21-anime-scraper");
Anime.search('date a live').then((data) => {
if(!data.length) return console.log("No Anime with this name found")
Anime.fetchAnime(data[0].link, { episode: 1 }).then(data => console.log(data))
});
Scrap in Mass
const Anime = require("jeydin21-anime-scraper");
Anime.search('high school dxd').then((data) => {
if(!data.length) return console.log("No Anime with this name found")
Anime.fetchAnime(data[0].link, { mass_episodes: 10 }).then(data => console.log(data))
});
Scrap Whole Data
const Anime = require("jeydin21-anime-scraper");
Anime.search('toradora').then((data) => {
if(!data.length) return console.log("No Anime with this name found")
Anime.fetchAnime(data[0].link).then(data => console.log(data))
});
Scrap Recent Anime
const Anime = require("jeydin21-anime-scraper");
Anime.getRecentAnime().then(data => {
console.log(data)
})
Scrap Popular Anime
const Anime = require("jeydin21-anime-scraper");
Anime.getPopularAnime().then(data => {
console.log(data)
})