geekpradd / PyLyrics

A Pythonic Implementation of lyrics.wikia.com for getting lyrics of songs
72 stars 27 forks source link

error with Symbols #3

Open groadabike opened 8 years ago

groadabike commented 8 years ago

Dear geekpradd The functions have an error when the name of the Artist or the Song have some symbols like "?" because it is not encoded into URL format. You can solved importing urllib and then in any search you can replace, for example album.artist() by urllib.quote_plus(album.artist()) and it will fix the problem. This is needed specially in getLyrics() method

Best regards