Open the-lay opened 6 years ago
I've found the problem. Looks like all of the calls to Spotify Web Helper now require Origin to be set.
I've changed _call
method signature to include that by default, and it works now.
def _call(self, path, headers=dict(Origin="https://open.spotify.com"), authed=False, raise_error=True, **params):
It is not working anymore again
Searching for a way to control local spotify playback, I found this repo. Unfortunately, it doesn't seem to work anymore.
Getting CSRF token returns HTTP 200, with proper token, but everything else from that point, including getting OAuth token seem to return HTTP 404.