linweiyuan / go-chatgpt-api

一个尝试绕过 Cloudflare 来使用 ChatGPT 接口的程序
MIT License
1.43k stars 449 forks source link

platform/login err #265

Closed CaoYunzhou closed 8 months ago

CaoYunzhou commented 9 months ago

return message

{
    "errorMessage": "failed to get access token"
}
import requests
import json

url = "https://xx.xxx.com/platform/login"

payload = json.dumps({
  "username": "xx@mail.com",
  "password": "xx"
})
headers = {
  'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)
CaoYunzhou commented 9 months ago

看起来像官方改了接口,凌晨3点

linweiyuan commented 9 months ago

官方改了的话还好

我昨天有改动,以为翻车了

今晚看看

yqchilde commented 9 months ago

登录也加了一层arkose验证,在password接口的cookie中增加了arkoseToken键

4everhope commented 9 months ago

确实改了

zhouhs0019 commented 9 months ago

这个能修复的吗

linweiyuan commented 9 months ago

用了第三方包,要看他什么时候修复,我不搞了

ingxhe commented 9 months ago

用了第三方包,要看他什么时候修复,我不搞了

在哪里填自己的账号和密码