Closed katonagl closed 7 years ago
Hi! It actually looks like this isn't an encoding issue but a case of Musixmatch blocking our scraper:
>>> import requests
>>> requests.get('https://www.musixmatch.com/lyrics/Hal%C3%A1sz-Judit/Micimack3%B3')
<Response [404]>
We can change our user-agent from the requests default, but I'm afraid it will only be a matter of time before that gets blocked too. We'll see, I guess?
OK, I've added a User-Agent header to the plugin. It's not a real fix, of course, but it might make this work for now! Care to give it a try?
Problem
I try to fetch lyrics for songs where either the artist name or the title has non ascii charcters.
The command used is
beet -vv lyrics halász micimackó
The answer is:
However, the second link do exist. The problem should be with character encoding, since titles with only ascii characters work.
Setup
My configuration (output of
beet config
) is: