lester51 / 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.
MIT License
2 stars 0 forks source link

AZLYRICS LYRIC SCRAPER

AzLyrics

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