Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.
/ get-lyrics Public archive

Scrape lyrics of given song title from Genius.

License

Notifications You must be signed in to change notification settings

Allvaa/get-lyrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@allvaa/get-lyrics

Scrape lyrics of given song title from Genius.

Install

# npm
npm i @allvaa/get-lyrics

# yarn 
yarn add @allvaa/get-lyrics

Using

const song = require("@allvaa/get-lyrics");

(async () => {
    const result = await song("title here");
    console.log(result); // returns Song object
})();

Song object

interface Song {
    title: string; // song title
    image: string; // song image
    geniusUrl: string; // lyrics url from Genius
    lyrics: string; // scraped lyrics
}

About

Scrape lyrics of given song title from Genius.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published