Skip to content

kyky775v2/spotify-lyrics-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

spotify-lyrics-js

Spotify lyrics fetcher using pureJS

How it works

Use puppeteer to get access token for fetching lyrics from Spotify and fetch the lyrics using that token

var fetcher = new LyricsFetcher(<FetcherOptions>);
fetcher.fetch(<SpotifyTrack>): Promise(<LyricsResult>)

<FetcherOptions: Object> = {
  <clientId: String> = Client id of Spotify api application
  <clientSecret: String> = Client secret of Spotify api application
  <authJsonPath: String> = File path to store Spotify auth token (ex auth.json)
  <cookieJsonPath: String> = File path to store Spotify account cookie (ex cookie.json)
}
type <SpotifyTrack: String> = Spotify track ID or URL
type <LyricsResult: Object> = Lyrics of given track

Used dependencies: axios puppeteer node-spotify-api

About

Spotify lyrics fetcher using pureJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published