antoniouaa / pylyrics

Python script that detects the song Spotify is currently playing and retrieves its lyrics
4 stars 0 forks source link

Dash(-) in song title or artist #1

Closed antoniouaa closed 5 years ago

antoniouaa commented 5 years ago

Due to the website used in the GET request for the lyrics and their complete lack of consistency in naming their html pages using dashes, having dashes in the title of the song or artist trips the script up and fetches no lyrics.

Returns "No song found", which is suboptimal to be frank.

Guess we won't be reading Playboi Carti's lyrics. bad_bad_website

antoniouaa commented 5 years ago

Playboi Carti's name has been hardcoded. I couldn't find any pattern regarding dashes in artist names, so we'll roll with this for now.

antoniouaa commented 5 years ago

Issue resolved by ditching azlyrics as a source and using Google's smart lyric boxes instead