Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Despite seeming to search, the lyrics-extractor cannot locate any songs. #14

Open
peterjohnson427 opened this issue May 11, 2023 · 0 comments

Comments

@peterjohnson427
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant