Server side code to make an issue on the main repo when the program encounters a song it can't fetch lyrics for.
Works using the GitHub API and Flask.
The main program is configured to send a POST request to the server.
Need to document and add unit testing.
In order to prevent spam and/or abuse of endpoints, rate limiting has been set such that it wouldn't affect a normal user.
Since SwagLyrics checks for track change every 5 seconds, requests on endpoints /stripper
and /unsupported
are
allowed once per 5 seconds only.
swaglyrics-backend is proudly sponsored by PythonAnywhere.