idle_master_py icon indicating copy to clipboard operation
idle_master_py copied to clipboard

Having to copy cookie from browser twice a day or so?

Open dougmc0 opened this issue 8 years ago • 3 comments

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?

dougmc0 avatar May 28 '16 02:05 dougmc0

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. :/

Gummibeer avatar Nov 03 '16 13:11 Gummibeer

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.

barnaba avatar Dec 11 '16 18:12 barnaba

Is there a way to automate the provisioning of cookies? I've the same problem.

97997 avatar Jan 24 '18 16:01 97997