如何应对http请求中的“挑战”

问题描述 投票:0回答:1

所以我尝试通过http请求登录,只是为了学习目的

import requests

payload = {"cvalue": "", "password": ""}
url = 'https://auth.roblox.com/v2/login'

header = {"X-Csrf-Token": ""}

response = requests.post(url, headers=header, data=payload)

print(response.content)
print()

它可以工作,但我在尝试获取内容时遇到了这个问题

"message":"Challenge is required to authorize the request"}]}

如果我必须猜测的话,它与 funcaptcha 有关

我要登录网站

python http post
1个回答
0
投票

你找到答案了吗?我目前正在寻找同一问题的解决方案

© www.soinside.com 2019 - 2024. All rights reserved.