Anime Wallpaper
Get Anime wallpapers based on scrapping from websites.
Example Usage
const { AnimeWallpaper } = require("anime-wallpaper");
const wall = new AnimeWallpaper();
async function Wallpaper1() {
const wallpaper = await wall.getAnimeWall1({ search: "to love ru", page: 1 })
return console.log(wallpaper)
}
Wallpaper1()
async function Wallpaper2() {
const wallpaper = await wall.getAnimeWall2("keqing")
return console.log(wallpaper)
}
Wallpaper2()
async function Wallpaper3() {
const wallpaper = await wall.getAnimeWall3()
return console.log(wallpaper)
}
Wallpaper3()
async function Wallpaper4() {
const wallpaper = await wall.getAnimeWall4({ title: "anime romance", type: "sfw", page: 1 })
return console.log(wallpaper)
}
Wallpaper4()
- Getting Wallpaper from ZeroChan (dynamic)
async function Wallpaper5() {
const wallpaper = await wall.getAnimeWall5("Makima")
return console.log(wallpaper)
}
Wallpaper5()
IMPORTANT!!!!
Nb: function which has dynamic tag sometimes image url doesn't load or render because it's a dynamic website, you can re-fetch again to get image url
© Aizuu