idle_master_py
idle_master_py copied to clipboard
Having to copy cookie from browser twice a day or so?
idle_master.py is working fine for me, however I find that I need to update my SteamLogin cookie in settings.txt from my browser every twelve hours or so.
The sessionid doesn't change, but the SteamLogin cookie does.
The browser never logs out, but idle_master.py does, and it gives this error --
[ 05/27/2016 08:16:31 PM ] Still unable to find drop info. [ 05/27/2016 08:16:31 PM ] Sleeping for 5 minutes.
... until I stop it and fix the problem and restart.
Reloading steamcommunity.com in my browser doesn't seem to affect it, and my browser never logs out -- just idle master.
Any way of fixing this?
I bet that steam is using any kind of expiration auth tokens that have a short soft expiration and a much longer hard but after you have used your exired one time you get the new cookies but idle master has a fixed set of cookies so that steam kicks it out. I've tested to automate it by reading the chrome cookie storage that's a sqlite database but the values are encrypted so that it's not this easy. :/
A good first step towards fixing that might be closing the steam idler when the cookie expires. Currently it still thinks it's idling (at least on linux). That would facilitate automation of provisioning cookies via external tools with a simple bash loop, without having to modify idle master.
Is there a way to automate the provisioning of cookies? I've the same problem.