Techcatchers / PyLyrics-Extractor

Get Lyrics for any songs by just passing in the song name (spelled or misspelled) in less than 2 seconds using this awesome Python Library.
MIT License
52 stars 17 forks source link

raising LyricScraperException when running code. #13

Open confusedcacti opened 2 years ago

confusedcacti commented 2 years ago

the code that I ran: from lyrics_extractor import SongLyrics

apiKey = 'AIzaSyD0wLKKCF8h8P9RcFKeuBvrsCttZjbs_wY' engineID = 'ee477aa93a682'

extract_lyrics = SongLyrics(apiKey, engineID) lyrics = extract_lyrics.get_lyrics('shape of you') raises exception here^^

kuykens commented 1 year ago

I had a identical problem. The exception I got was:

LyricScraperException: {'error': {'code': 400, 'message': 'Request contains an invalid argument.', 'errors': [{'message': 'Request contains an invalid argument.', 'domain': 'global', 'reason': 'badRequest'}], 'status': 'INVALID_ARGUMENT'}}

ghost commented 11 months ago

Has anyone solved this? I'm getting the same exception; Code 400, etc.