-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Exception thrown during loading the lyrics.
Traceback (most recent call last):
File "<input>", line 4, in <module>
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\azapi\azapi.py", line 90, in getLyrics
self.lyrics = lyrics.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
To Reproduce
Steps to reproduce the behavior:
api = azapi.AZlyrics('duckduckgo', accuracy=0.5)
api.artist = "Glass Animals"
api.getLyrics(url="http://www.azlyrics.com/lyrics/glassanimals/homemovie1994.html")
Expected behavior
It seem that no lyrics is available but the page exist. Maybe return None
?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working