smol-ai / GodMode

AI Chat Browser: Fast, Full webapp access to ChatGPT / Claude / Bard / Bing / Llama2! I use this 20 times a day.
https://smol.ai
MIT License
4.09k stars 321 forks source link

Peplexity AI Not Working #249

Closed LiatHa closed 8 months ago

LiatHa commented 9 months ago

Describe the bug Perplexity AI Checking if the site connection is secure forever and not loading because of that.

To Reproduce Open the godmode app (btw, no start menu shortcut available using the exe installation. which means redoing the setup over and over again). Add the provider of perplexity AI image

Expected behavior Open the perplexity AI login page

Screenshots image Desktop (please complete the following information):

Additional context Add any other context about the problem here.

MarshallkHeadline commented 9 months ago

Note: this also results in a focus stealing loop, so you can't ignore it and use other apps. Requires Perplexity (and Llama 2 in Perplexity) to be removed.

PhillipRt commented 9 months ago

I think perplexity went overboard with the bot detection. I even get issues like this using it in the normal browser. You can track the request in the dev console to cloudflare and it comes back with bot again and again. I think you have to allow any traffic, no adblock or pihole and have a clean user agent. Also do not use a vpn, because it will make it look like a lot of requests are coming from it. Might be worth looking into puppeteer and puppeteer stealth to determine what works and what doesn't. Also a lot of the unofficial apis should have the same problem, maybe we can ask in those repos if they found a solution.

So i would say, things try:

Since we are not scraping, this is legal and should not be to difficult.

As a last resort, we could reach out to the team, they seem on the pulse and probably do not have issues with what we are doing. Maybe they will whitelist godmode

Source: https://www.zenrows.com/blog/bypass-cloudflare#cloudflare-solvers

swyxio commented 8 months ago

yeah totally - @mwyywm updated user agent in #239 - releasing in beta.9!