This allows you to grab Spotify lyrics from their API. You can input song names or track IDs. Supports proxies.
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
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.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845f302be3cafdcaf931f7973d5a867e1ffd9d3c7f44fc84640756b577e4cb0b |
|
MD5 | 5058244a5a4ee41cc4db34fe30c937b7 |
|
BLAKE2b-256 | c230172277d354ed2971b5e4d9bedba5e1d5560a4fd57b65b9d09d70efbb25be |
Close
Hashes for spotify_lyrics_scraper-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d5a21a588cf7121aa1f11452226b5590977d10a3ed7eb01dbd7690f793ed1d5 |
|
MD5 | 982e549d0442db00ea48ad78bd36288a |
|
BLAKE2b-256 | 8fbae8f4d45049d8a8059b2354071db9ea990496ff3841b5b29a5e7473ce1a20 |