Status Code 401 for Musixmatch

#55 · open · 4 comments

View on GitHub ↗

mrkcmn

after running the search function in loop for a while it starts printing out this message in the terminal: `[Musixmatch] Got status code 401 for [TRACK_NAME] [ARTIST_NAME]` Although it doesn't seem to be a problem, since the function still returns the lyrics, do you know how to keep this from happening anyway? In case there was no solution, whould there be a way to avoid printing the message in the terminal? ps: thanks for making this package, it's really great!

Comments

Mews

Has nobody found a solution yet? This is really annoying me

fmqeisfeld

same here...might be related to some api-limit

Mews

I don't even need a solution for whatever error 401 is, i'd just like an option to make it not get printed to the console The command line interface has a verbose option but it doesn't seem like that's the case for the python library

Sikandar-X

The error `Got status code 401` literally means "Unauthorized. It usually happens when you send too many requests to Musixmatch in a short time or use script to batch download. if you getting your lyrics anyways, you use `-p` argument and exclude Musixmatch from this. for command in shell, you can do something like ``` syncedlyrics "Artist - Track" -p lrclib netease ```