Update README.md

updated description and setup instructions
This commit is contained in:
~noah~
2021-12-02 01:29:10 -07:00
committed by GitHub
parent 0dd4952805
commit ce4cb7779f
+26 -12
View File
@@ -1,22 +1,36 @@
# spotify-lyrics-to-lrc
Converts between Spotify's new lyrics (and their proprietary format) to an LRC file for local playback.
---------------------------------------------------------------------
Requisites:
> pip install os re sys spotipy itertools json requests base64 linecache webbrowser bs4 time pyautogui pyperclip urllib3
---------------------------------------------------------------------
How to set up:
· Go to the [Spotify API Dashboard](https://developer.spotify.com/dashboard/applications)
· Create an app and enter "example.com/example" as the Redirect URI in the settings
· copy client ID, secret, and "example.com/example" from Spotify API Dashboard and put them into lyricdownloader.py
· Run converter.py
· Sign into Spotify
· It will redirect you to a link based off your URI, copy everything but "example.com/example" from the url and paste it into the console
· Close it out
---------------------------------------------------------------------
How to use:
Open Spotify web player
· Listen to a song on Spotify
Choose desired song
· open converter.py
Open Chrome dev tools, open Network tab
· Wait about 10 seconds
Click lyric button
find the link in Network Tools that starts with "https://spclient.wg.spotify.com/color-lyrics/v2/track" and open it
Copy and paste entire chunk of text into "lyrics.txt" and save it
Run "converter.py"
Done! Rename output.lrc file to desired filename.
· Once complete, check "Lyrics" folder for grouping by album and artist