A Python script that displays the lyrics to the currently playing song on Spotify in your terminal.
This script requires Python 3, requests and BeautifulSoup4
-
Save spotify-lyrics.py to a location of your choice (this is where you will run the script from):
$ wget https://raw.githubusercontent.com/cjlh/spotify-lyrics/master/spotify-lyrics.py
-
Run the script whilst playing music in Spotify -- the lyrics will automatically display as the song changes:
$ python /path/to/spotify-lyrics.py
Or if the script was saved to
/usr/bin
:$ spotify-lyrics
You can use the
--lyrics-provider
argument choose to a specific lyrics provider to fetch lyrics with. Use--help
to see all available providers.$ spotify-lyrics --lyrics-provider=<LYRICS_PROVIDER>
This project is licensed under the MIT License.