You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@fashni
This is a simple trick I discovered while writing a bash script to fetch synced lyrics. I was reverse engineering musixmatch's API and found the same URL you did (mxlrc.py / line 17). And, of course, I was not satisfied with the cryptic mxm lyrics format that it returned. But this is where our solutions diverge. You wrote a whole mxm parser, and I... Well, I just YOLO'd it and replaced subtitle_format=mxm with subtitle_format=lrc. And to my surprise it worked.
It's nice to have your parser, just in case musixmatch will decide to remove lrc support. But if your goal is to make a lyrics fetcher - just change the subtitle_format, and the code will become 10x smaller and simpler.
The text was updated successfully, but these errors were encountered:
@fashni
This is a simple trick I discovered while writing a bash script to fetch synced lyrics. I was reverse engineering musixmatch's API and found the same URL you did (mxlrc.py / line 17). And, of course, I was not satisfied with the cryptic
mxm
lyrics format that it returned. But this is where our solutions diverge. You wrote a wholemxm
parser, and I... Well, I just YOLO'd it and replacedsubtitle_format=mxm
withsubtitle_format=lrc
. And to my surprise it worked.It's nice to have your parser, just in case musixmatch will decide to remove
lrc
support. But if your goal is to make a lyrics fetcher - just change thesubtitle_format
, and the code will become 10x smaller and simpler.The text was updated successfully, but these errors were encountered: