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 Examples
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 332029b2b5b053fcff63769f1ebd7bd8b617fbbdfe5c62ffa6714ea20f3ca6bb |
|
MD5 | 1507831c6cdaeee47c4455713f49079c |
|
BLAKE2b-256 | a1b9d6ecfbf95562c9ad1317aff414c64d7b07400b09c7f0a117338aa5171a66 |
Close
Hashes for spotify_lyrics_scraper-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3df57f9417a5d685989f745360b96b9daf471958dc2794eceb836312a8c51c16 |
|
MD5 | 5c2f612661673a35baf4e68b84f50756 |
|
BLAKE2b-256 | f459e5098338aec39c72d81670f8be68d01f68920997691375b5d19e902f01bb |