You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extract_lyrics = SongLyrics('AIzaSyC5sQ2alM11wY43kmUYvAcPPAVU1Ww9weo', 'f2904a23add534b8d')
lyrics = extract_lyrics.get_lyrics("Shape of You")
print(lyrics['title'])
print(lyrics['lyrics'])
But it doesn't work. It gives this error:
Traceback (most recent call last):
File "main.py", line 4, in
lyrics = extract_lyrics.get_lyrics("Shape of You")
File "/home/runner/LyricsBot/venv/lib/python3.10/site-packages/lyrics_extractor/lyrics.py", line 195, in get_lyrics
raise LyricScraperException({"error": "No results found"})
lyrics_extractor.lyrics.LyricScraperException: {'error': 'No results found'}
I followed the intructions of this website as closely as I could: [Lyrics-extractor_3.0.1]
(https://populyrics.com/)
With pip install lyrics-extractor, I've already installed the library.
The API Key and Engine ID have both been verified, and they are both accurate.
I tried other song titles. Same results.
What may the issue be?
The text was updated successfully, but these errors were encountered:
This is my code:
from lyrics_extractor import SongLyrics
extract_lyrics = SongLyrics('AIzaSyC5sQ2alM11wY43kmUYvAcPPAVU1Ww9weo', 'f2904a23add534b8d')
lyrics = extract_lyrics.get_lyrics("Shape of You")
print(lyrics['title'])
print(lyrics['lyrics'])
But it doesn't work. It gives this error:
Traceback (most recent call last):
File "main.py", line 4, in
lyrics = extract_lyrics.get_lyrics("Shape of You")
File "/home/runner/LyricsBot/venv/lib/python3.10/site-packages/lyrics_extractor/lyrics.py", line 195, in get_lyrics
raise LyricScraperException({"error": "No results found"})
lyrics_extractor.lyrics.LyricScraperException: {'error': 'No results found'}
I followed the intructions of this website as closely as I could: [Lyrics-extractor_3.0.1]
(https://populyrics.com/)
With pip install lyrics-extractor, I've already installed the library.
The API Key and Engine ID have both been verified, and they are both accurate.
I tried other song titles. Same results.
What may the issue be?
The text was updated successfully, but these errors were encountered: