Closed NoahXcl closed 1 year ago
The chatGPTsessURL address defined in your script is accessible to me directly through my browser, with a return code of 200
It has been solved, my solution is to change the GET request to a POST request for the corresponding 176 lines of code, but it will return a 400 error code, but it does not seem to affect the use.
@NoahXcl How long did you test and it works now? Also how long was previous test before it fails?
I used this script for the first time today and found that the console kept returning 403, so I visited the sessURL in a separate browser and found that it worked and the request method was POST, and after changing the refresh time to 30s I tested it and now it returns 400 but it works fine. By the way, there is a small problem, the default matching URL has been changed from https://chat.openai.com/chat to https://chat.openai.com/c/
I have implemented changes based on your observation: the interval is now 30s, the match removed the /chat
and request method is POST now (so you can update script or even enable auto-update in your userscript manager settings and future updates which may be useful will also apply)