ChatGPT
ChatGPT copied to clipboard
[BUG] Session token will change when refresh the browser
Session token will change when refreshing the browser, which makes it impossible to request automatically.
Can this package use the username and password rather than token?
same error
I don't think it possible when openai have Captcha, can only look forward for official api. Or you can try use some other library to build a login helper.
Read Wiki. We support Microsoft login and email/password. Email/password login requires 2Captcha account.
https://github.com/acheong08/ChatGPT/wiki/Setup#emailpassword-login-authentication
Session token will change when refreshing the browser, which makes it impossible to request automatically.
Once you get a session token, it is recommended that you close the browser. The session token refreshes automatically when you make requests via this library