Closed deepbluesea closed 5 years ago
fixed with api = AZlyrics() api.getSongs('Taylor Swift')
When initializing AZlyrics
class, you must pass both artist
and title
arguments.
but for getSongs()
, artist
should be passed to this function if not given to the initializer.
I updated azapi.py
to avoid passing a NoneType
object.
If your problem is solved, kindly close this issue :)
Describe the bug
To Reproduce Steps to reproduce the behavior: `from azapi import AZlyrics
api = AZlyrics('Taylor Swift')
songs = api.getSongs() `
Expected behavior self explanatory