-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Hi. I am getting this error:
Warning (from warnings module):
File "/anaconda3/lib/python3.6/site-packages/bs4/init.py", line 181
markup_type=markup_type))
UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 1 of the file . To get rid of this warning, change code that looks like this:
BeautifulSoup(YOUR_MARKUP})
to this:
BeautifulSoup(YOUR_MARKUP, "lxml")
Traceback (most recent call last):
File "/Users/user/Desktop/Windows Transfer/Python Scripts/GetSongLyrics.py", line 15, in
lyrics = PyLyrics.getLyrics(song,artist)
File "/anaconda3/lib/python3.6/site-packages/PyLyrics/functions.py", line 82, in getLyrics
raise ValueError("Song or Singer does not exist or the API does not have Lyrics")
ValueError: Song or Singer does not exist or the API does not have Lyrics
But I can't seem to fix it inside the file as it states to.
Please Help!!!
Thanks for your time!!