azlyrics-scrape-api
TypeScript icon, indicating that this package has built-in type declarations

1.2.0-beta • Public • Published

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

Package Sidebar

Install

npm i azlyrics-scrape-api

Weekly Downloads

18

Version

1.2.0-beta

License

MIT

Unpacked Size

33.1 kB

Total Files

9

Last publish

Collaborators

  • hackmesenpai