-
Notifications
You must be signed in to change notification settings - Fork 255
Cloudflare issue #6
Comments
They just added a challenge at the main page : ` <title>Just a moment...</title>
|
as reported here It's to do with and their (new) cloudflare hCaptcha implementation. Once you pass the security check, the browser stores a cf_clearance cookie which has a 1-year expiration. If this cookie is missing, even if you have a valid session/access token you will need to pass the security check again before accessing the website. |
see also this issue to follow the ongoing discussions on solutions |
Hi. A temporary bypass using |
Works fine - only thing that would be lovely is when it would close the browser afterwards. |
Unfortunately, the browser window is required as Cloudflare will detect headless browser and the bypass will not work. |
I mean after the whole process is finished - the browser still stays open i mean something like self.driver.quit() after everything is done |
That is achievable. But as we are ensuring auth when using pyChatGPT/src/pyChatGPT/pyChatGPT.py Line 136 in 441f714
|
I just added self.driver.quit() in line 150 before it returns the msg - that will close the browser everytime and reopen a new session when i ask a new question ( actual use it in a discord bot ) |
I have pushed version v0.2.3 to reduce the browser pop-up frequency. Please have a look and let me know if you have any questions. |
Hello Terry
Thanks for your work - it seemed like they now using Cloudflare any chance you could do a bypass or something?
Or is it just me ran into the Cloudflare issue?
The text was updated successfully, but these errors were encountered: