Closed ThatOneDev78601 closed 1 year ago
There was a breaking change a few months ago with the Spotify api, let me fix this in a couple hours
okay thanks, let me know if you were able to fix it, appreciated btw
yeah, i just have a lot of schoolwork lol definitely will get it fixed in like 6-8 hours
hey, just got around to updating the code, and it should work for you now if it doesn't, try relogging in to "open.spotify.com" using a web browser (google chrome, edge, firefox) and make sure to check the "remember me" option
same errors as before, maybe I'm doing something wrong? running the code with
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)-8s - %(name)-14s - %(message)s')
spotifyplayer = SpotifyPlayer()
spotifyplayer.command(spotifyplayer.play('5wilF6g0r4VpNqQsV8fWKr'))
Also, might be worth noting that I'm using opera gx, not google chrome. Not sure if thats the issue though as opera uses chromium internally and it still uses chrome dev tools and all
big oversight by me, try changing the browser_cookie3.chrome()
call to browser_cookie3.opera_gx()
in experimental.py
there was no function named opera_gx() however there was one named opera() so i tried that, doing so resulted in this error
OH, i also use microsoft edge, and tried changing it from opera to edge, and now it works! thanks so much for the fix
not sure why opera doesnt work though, might just be bugged
try reinstalling requirements with pip install -U -r requirements.txt
this could fix the opera gx problem
okay
Hey, it seems I cannot get this working, is this outdated now? I would like to contact you about this however it seems there is no contact info on your profile