tappyduckmancodes / spotify-lyric-downloader

Rips lyrics from currently playing song on Spotify and puts into folder based on Artist and Album.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spotify-lyric-downloader

Rips lyrics from currently playing song on Spotify, converts to LRC format for offline playback (e.g Plex, Kodi, MusicBee)

Disclaimer!!! (Read before use, thanks)

This software is totally open source code permanently 100%, which is only used for study and conmunication. Any forms of commercial using is not allowed. Please be responsible with this software and don't use it for any purposes aside from a personal media collection.

Requisites:

pip install spotipy requests bs4 pyautogui pyperclip datetime importlib

Forgive my carelessness please if there are some modules I forgot to mention, just install it by yourself.

How to set up:

· Go to the Spotify API Dashboard

· Create an app and enter "http://example.com/example" as the Redirect URI in the settings

· Copy the Client ID and Secret from Spotify API Dashboard and put them into lyricdownloader.py

· Sign into Spotify and listen to any song you like.

· Open your browser and open the developer tool (Hot key is F12 in Chrome), and go to https://open.spotify.com/lyrics, find the authorization value following the picture below. Then close the browser. Remember, once you get the authorization, don't open https://open.spotify.com/lyrics in a new web, or it will generate a new one and the old one will be expired. As long as you don't open a new web, this can maintain a long time (roughly 1-2hrs from testing). Just use client or the web you first opened to listen to music. Image load fail

· Run converter.py in a cmd or git-bash terminal.

· It will redirect you to a link based off your URI, copy everything but http://example.com/example from the url and paste it into the console. Then you can close the browser.


How to use:

· Listen to a song on Spotify (any client works).

· run converter.py in Windows cmd or Mac terminal.

· Wait about 10 seconds.

· Once complete, check "Lyrics" folder for grouping by artist, album, and track number and title. Enjoy yourself!

About

Rips lyrics from currently playing song on Spotify and puts into folder based on Artist and Album.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%