Open PyDevelopp opened 8 months ago
same kind of pb here, since today simple code like this does not work anymore and raise 400 bad request exception
user = wa.WebAuth(STEAM_BOT_NAME)
steam_session = user.login(STEAM_BOT_PASSWORD)
steam_session.get("https://steamcommunity.com/market/pricehistory/?country=US¤cy=1&appid=730&market_hash_name=AK-47 | The Empress (Factory New)")
I don't know if it can help but acceed in browser to the URL worked when connected but CURL from this page fails in POSTMAN Maybe a header issue
SOS~~ Has anyone implemented a new Steam login to get request.session or cookies?
Valve completely killed session mechanism that ASF used,Anxiously waiting for updates。
here is the issues of other steam project。
Started yesterday with the steamLoginSecure no longer appearing in the cookie. Today it cannot login at all. Had a look at the solution posted Here but failed to apply it to this project
There's also a problem with the login. It detects whether the password is wrong or not but throws a KeyError: 'transfer_parameters' when the password is correct.
File "/.../steam/webauth.py", line 153, in _finalize_login
self.steam_id = SteamID(login_response['transfer_parameters']['steamid'])
KeyError: 'transfer_parameters'
user = WebAuth(username)
try:
user.login(password=password)
print("Login successful!")
except Exception as e:
print(f"Login failed: {e}")
with the correct credentials leads to
Login failed: 'transfer_parameters'
In the latest Steam update, sessions stopped working, how to solve the problem?