gls
genius-lyrics-scrape
npm i genius-lyrics-scrape
gls

genius-lyrics-scrape

Genius Lyrics Scraper

by SeptSlept

1.2.0 (see all)License:GPL-3.0-or-laterTypeScript:Not FoundCategories:Vanilla JavaScript Lyrics API
npm i genius-lyrics-scrape
Readme

Genius Lyrics Scraper

Table of Contents

About

genius-lyrics-scrape is a Genius Lyrics API wrapper and a scraper.

Features

  • Object-oriented
  • Predictable abstractions
  • Full CommonJS documentation (Intellisense)

Getting Started

Installing

Add genius-lyrics-scrape to your Node.JS project

> npm i genius-lyrics-scrape

Require the module to your file

const Genius = require('genius-lyrics-scrape')

Example Usage

const Genius = require('genius-lyrics-scrape')
const token = require('YOUR-TOKEN-HERE')

const client = new Genius.Client(token)

client.searchAPI('Hello World')
  .then(searchRes => { console.log('First Result:\n', searchRes.result[0]) })
  .catch(err => console.err(err))

client.scrapeLyrics('https://genius.com/Travis-scott-sicko-mode-lyrics')
  .then(scraped => console.log('Scraped Lyrics:\n', scraped))
  .catch(err => console.err(err))

Documentation

See the documentation here

Downloads/wk

25

GitHub Stars

0
No data available

LAST COMMIT

NaNyrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

0

OPEN PRs

0
No data available
VersionTagPublished
1.2.0
latest
2yrs ago
No tutorials found
Add a tutorial