azlyrics-scrape-api
v1.2.0-beta
Published
AzLyrics webscraper that returns a promise in JSON format. Another feature of this scraper is that it prevents the anti-bot detection so we can avoid human verifications such as captchas.
Downloads
40
Maintainers
Readme
AZLYRICS LYRIC SCRAPER
AzLyrics webscraper that returns a promise in JSON format. Another feature of this scraper is that it prevents the anti-bot detection so we can avoid human verifications such as captchas.
HOW TO INSTALL?
npm i azlyrics-scrape-api
Require to export function
//CommonJS
const azlyrics = require("azlyrics-scrape-api");
//ES Module
import azlyrics from 'azlyrics-scrape-api';
SIMPLE USAGE
usage of searchSong()
and getLyrics()
(async()=>
const azlyrics = require("azlyrics-scrape-api");
let res1 = await azlyrics.searchSong('Mou Sukoshi Dake Yoasobi')
console.log(res1)
let res2 = await azlyrics.getLyrics(res1.songs[0].url)
console.log(res2)
})()