AsyncLyricsExtractor
pip3 install git+https://github.com/New-dev0/AsyncLyricsExtractor.git
- You will need an API Key and Engine ID of Google Custom Search JSON API.
from lyrics_extractor import SongLyrics
extract_lyrics = SongLyrics(GCS_API_KEY, GCS_ENGINE_ID)
# Replace 'GCS_API_KEY' and 'GCS_ENGINE_ID' with the API key and Engine ID received.
data = await extract_lyrics.get_lyrics("Shape of You")
print(data["title"])
print(data["lyrics"])
- All Details and Credits are as mentioned in parent repository.