SamuelKollar

Results 15 comments of SamuelKollar

Is there a tested solution for making the session last longer than a day ? If so, can anyone provide me a sample of their code ? I have been...

Any new updates on this issue ?

Okay, but the problem is that when the session drops and I try to relogin the bot it doesnt work.

#308 talks about this if you read to the end, I am currently having the same issue but dont have time to look at the code and make a pr

### First I log in like this, using login() method which works perfectly fine try: with open('steam_cookies.json', 'r', encoding='utf-8') as f: cookies = json.load(f) print('loaded cookies',flush=True) except: cookies = None...

What function do you use for login ? Because when I use login() first time and try to use it second time afte the session expires it doesnt work, it...

I just tried it and it worked as a login the first time after the bot logged off but after that it stopped working again.

If I have a login session already how should I handle when is_session_alive() returns False and I want to relogin again. Since doing login() the second time doesnt work.

Update: I tried using get_trade_offers() to get all of the incoming trade offers and find the one which was changed previously and this works, however when I try to cancel...

Yeah, I tried using is_session_alive() but the issue I have with it is that if I call it every 0.5s or so after like an hour I start getting no...