animelyrics-scraper
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

animelyrics-scraper

Is a project that helps weebs to get their favorite song lyrics. Very useful if you needs it. Scraps from https://www.animelyrics.com/

Installation

npm i animelyrics-scraper

Warning

  • This module is not sponsored, affiliated, and supported by google and animelyrics
  • This module is heavily using scraping methods from searching to get the lyrics. One day, one year, one decade, the website might change their site and this module will break. But don't worry it works for now

Docs? meh example below will cover everything

Example

const { Search, GetLyrics } = require('../dist/index'); // CommonJS
import { Search, GetLyrics } from '../dist/index'; // ES6

// search the song by Search.search('title')
// Get the lyrics by GetLyrics.getLyrics(the result from search)
// 
// don't forget to catch in every function to prevent unexpected error

Search.search("maware").then(results => {
    const result = results[0];
    GetLyrics.getLyrics(result).then(console.log)
}).catch(_ => console.log('No lyrics was found'));

Package Sidebar

Install

npm i animelyrics-scraper

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

10.5 kB

Total Files

8

Last publish

Collaborators

  • takiyo