This PR raises LyricsNotFound instead of Exception, so that library users can be more precise when catching exceptions. It also adds an optional parameter timeout to get_lyrics() so that users can set maximum timeout value in case http://lyrics.wikia.com takes a long time to respond.
Nice little tool. Thanks!
This PR raises
LyricsNotFound
instead ofException
, so that library users can be more precise when catching exceptions. It also adds an optional parametertimeout
toget_lyrics()
so that users can set maximum timeout value in case http://lyrics.wikia.com takes a long time to respond.