Skip to content

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

Open

Description

@PyDevelopp

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

Activity

  1. negstek commented on Oct 19, 2023

    @negstek

    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

  2. ZangYUzhang commented on Oct 19, 2023

    @ZangYUzhang

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

  3. ZangYUzhang commented on Oct 19, 2023

    @ZangYUzhang

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

    here is the issues of other steam project。

  4. emipa606 commented on Oct 20, 2023

    @emipa606

    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

  5. SamanHushi commented on Oct 28, 2023

    @SamanHushi

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions