Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Session doesn't work after Steam update #450

Open
PyDevelopp opened this issue Oct 19, 2023 · 5 comments
Open

[BUG] Session doesn't work after Steam update #450

PyDevelopp opened this issue Oct 19, 2023 · 5 comments

Comments

@PyDevelopp
Copy link

In the latest Steam update, sessions stopped working, how to solve the problem?

@negstek
Copy link

negstek commented Oct 19, 2023

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&currency=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

@ZangYUzhang
Copy link

SOS~~ Has anyone implemented a new Steam login to get request.session or cookies?

@ZangYUzhang
Copy link

Valve completely killed session mechanism that ASF used,Anxiously waiting for updates。

here is the issues of other steam project。

@emipa606
Copy link

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

@SamanHushi
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants