Spotify anonymous token-getter. Heavily inspired by @kaangiray26/noauth solution. This is essentially a python reimplementation of the same technique, in a slightly different, more functional, way.
Single file solution -- just import the module.
Example provided in __main__
.
Python 3.12+
requests>=2.31.0