This allows you to grab Spotify lyrics from their API. You can input song names or track IDs.
Project description
Spotify Lyrics Grabber
This Spotify Lyrics Grabber is a tool to grab Spotify Lyrics of any song, not just the one you are listening to.
Table of Contents
- Installation\n
- Examples\n
Installation
To install, run pip install spotify-lyrics-scraper
in your command prompt. To import it, I recommend import spotify-lyrics-scraper as spotify
Examples
- Always using:
import spotify-lyrics-scraper as spotify
- To obtain the sp_dc, please check out https://github.com/akashrchandran/syrics/wiki/Finding-sp_dc. This is required to have access to the lyrics API.
Example 1
token = spotify.getToken("SP_DC Here")
print(spotify.getLyrics(token, songName="Song"))
Example 2 (Proxies)
token = spotify.getToken("SP_DC Here")
print(spotify.getLyrics(token, songName="Song", proxies={"https": "https://1.1.1.1:443"}))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for spotify_lyrics_scraper-1.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fe82b94edbef886d1a7357bf0995869eaa9bd6094f04dc1a6a5bc654153ab70 |
|
MD5 | 2f5368346bf41448e5ce19c4447d4900 |
|
BLAKE2b-256 | fe5a4153e14f7a9b323bfa9868d84f72430fd5eb3d2ae140f760d627319b9b6f |
Close
Hashes for spotify_lyrics_scraper-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e087e89fb1e1b626ed1a1b1010344499259cbf0b475cc6ea70278b11c387ecdb |
|
MD5 | 245151d32c45e48256888f111443b2ba |
|
BLAKE2b-256 | 92e8ded392c15b852f5d778ce15fdc4d75be8c15166858d8a03e4ddbf335a016 |