steam lost ark storage python script

I see that there are games written into the library on the Internet, probably the following, or the js console

At the same time, press the win+R key on the keyboard and enter the code steam://install/1599340 to download the game normally.

But I feel that the speed is too slow , and automation is needed. This is obviously a pure protocol, and 100 accounts can be stored in one second.

Other games can also be stored in the library, the same operation

Of course, you have to make sure that you can surf the Internet scientifically, because some games are partitioned .

First of all, pay attention to a few points, otherwise you will not be able to enter the warehouse.

1. Check if there is any limit in the area where the game is allowed to play. If there is a limit, then your account should also belong to this area

2. It is recommended not to use the ip address of the scientific Internet.

3. Go to the steam website to find the id of the game product

Let me talk about the logic first:

Take the id and fill it in, prepare the account email and email password, run the script with the account email and email password, and set the concurrency.

The steam login python script automatically encrypts and decrypts the algorithm. I see that there are still automatic calls to js on the Internet, which is too low.

I rewrote a set of automatic decryption encryption algorithms in python. The whole is relatively simple.

I am afraid that you will use it indiscriminately, so I will show some codes. If you need it, you can join the group and ask me to get it:

'''
donotcache: 1651602295532
password: WHxLV2zDQyUbC2lJKtGIoDfPnM2qNSnYmm1EbPFNIcU14GaHAYmgZ6DeawDSp4MgTG3OhNoWo1mIOmHlRXVcPnRne/wQd5pFRkmwXFDyiT1gMiLdJblS2G6vK/+wpRYzFAF0k67deSD9xyrTXEBp7xDn/sSnm+PvkgT99ntBHNn14dh3bXZ5jrbkPywe9kWECkqs3xdkg9cCUpAyVTsTML0gQir/36t+e3jJd8TLG7PVdmYpYC50WzLq2Ljuqwn0oQrGRBJ5X0n/vLmJ4/KIS2IlGd1iJBjlt/+OCfVjpqdjtG/opXZ32hM0h2Jv1ntEsRTB+bm6TvrcsvYfsW91BQ==
username: 0c8e1BmrrvP
twofactorcode: 
emailauth: X6F7K
loginfriendlyname: 
captchagid: -1
captcha_text: 
emailsteamid: 76561199274408408
rsatimestamp: 587745550000
remember_login: false'''
def get_login(username,pwd,dd,cookies):

    headers = {
        'Accept': '*/*',
        'Accept-Language': 'zh-CN,zh;q=0.9',
        'Connection': 'keep-alive',
        'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
        # Requests sorts cookies= alphabetically
        # 'Cookie': 'browserid=2710611530933559683; _ga=GA1.2.190249894.1649779004; steamMachineAuth76561199271855467=FB85AA164396CB7430D17E706FAAC2B9FE2B2E27; lastagecheckage=1-0-1990; steamMachineAuth76561199273764060=60AFED03F74E896152F229047ABE2343B6EC720C; recentapps=%7B%221891700%22%3A1650780901%2C%221877840%22%3A1650779770%2C%221599340%22%3A1650779250%2C%221244460%22%3A1650530024%7D; Steam_Language=english; steamMachineAuth76561199273711049=663C5A1F6DC33E7D20A15E3F7937605078AEC8A4; timezoneOffset=28800,0; sessionid=cdaa2c3567cc03a589c648d1; strResponsiveViewPrefs=touch; _gid=GA1.2.1372118805.1651565037; steamCountry=HK%7C351b300fbcd4946c7a231e758701b0c8; app_impressions=740130@1_4_4__129_1|730:624820:745@1_4_4__129_1|1245620@1_4_4__129_1|271590:771300@1_4_4__129_1|582010@1_4_4__139_4|1217060@1_4_4__139_4|289070@1_4_4__139_4|548430@1_4_4__139_3|1325200@1_4_4__139_3|1446780@1_4_4__139_3|367520@1_4_4__139_2|1041720@1_4_4__43_1|646570@1_4_4__129_2|1172380@1_4_4__139_4|1644960@1_4_4__139_4|356190:533110:561630:561631:561650:784070@1_4_4__139_4|892970@1_4_4__139_3|588650@1_4_4__139_3|881100@1_4_4__139_3|646570@1_4_4__139_2|367460@1_4_4__40_2|724040@1_4_4__40_2|589360@1_4_4__43_1|868360@1_4_4__40_1|1203220@1_4_4__40_1|1891700@1_4_4__125|450540@1_4_4__141_1|488310@1_4_4__141_1|1159860@1_4_4__141_1|469610@1_4_4__141_1|1245620@1_4_4__129_1|367520@1_4_4__129_2',
        'Origin': 'https://store.steampowered.com',
        'Referer': 'https://store.steampowered.com/login/?redir=&redir_ssl=1&snr=1_4_4__global-header',
        'Sec-Fetch-Dest': 'empty',
        'Sec-Fetch-Mode': 'cors',
        'Sec-Fetch-Site': 'same-origin',
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36',
        'X-Requested-With': 'XMLHttpRequest',
        'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="100", "Google Chrome";v="100"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"Windows"',
    }
    t_ = str(int(time.time() * 1000))
    data = {
        'donotcache': t_,
        'password': pwd,
        'username': username,
        'twofactorcode': '',
        'emailauth': dd.get('code') if dd.get('code') else '',
        'loginfriendlyname': '',
        'captchagid': '-1',
        'captcha_text': '',
        'emailsteamid': dd.get('emailsteamid') if dd.get('emailsteamid') else '',
        'rsatimestamp': dd.get('timestamp'),
        'remember_login': 'false',
        'tokentype': '-1',
    }

    response = requests.post('https://store.steampowered.com/login/dologin/', cookies=cookies, headers=headers,
                             data=data)
    # print(response.text)
    return response.json()

 Quickly join the group sososo

Why do I need an email address and email password?

Because some accounts do not close the mailbox token, if it is not closed, the script will automatically receive the mailbox verification code, so the mailbox and mailbox password are required.

Guess you like

Origin blog.csdn.net/m0_38124502/article/details/125029831