poe-api-wrapper icon indicating copy to clipboard operation
poe-api-wrapper copied to clipboard

Why the api is unstable right now

Open snowby666 opened this issue 1 year ago • 5 comments

The api has been unstable for a couple of weeks. This is due to cloudflare protection with JS challenge when sending request (spoofed as robots/automatic/spamming requests) to www.quora.com/poe_api/gql_POST plus some redirecting methods. I've tried adding the cf_clearance token but it didnt work.

I'm pretty sure that poe.com also set up an aggressive rate limiter as well.

Solution? I'm working on a way using a headless browser to bypass this (currently testing with playwright). Maybe with addition of proxy_switcher for undetected connection. Any suggestion or further help is appreciated.

snowby666 avatar Apr 07 '24 04:04 snowby666

The problem occurred more than before after I just sent less than 5 requests.

FightingFranky avatar Apr 07 '24 09:04 FightingFranky

undetected-chromedriver to do some things and leave this part of your code in pyc compiled so that it doesn't know what you did. I have part of this made to run on Google Colab. If you want the code, I won't post it here for obvious reasons. Create an account on Telegram and post @ and I'll send you the code.

noseon avatar Apr 07 '24 22:04 noseon

You may also try pupeteer for Python including stealth plugins.

bluusun avatar Apr 08 '24 20:04 bluusun

so it isnt work now?😢

yuntmiiii avatar Apr 24 '24 13:04 yuntmiiii

no luck with even one single message request, got the following error :

RuntimeError: Rate limit exceeded for sending requests to poe.com. Please try again later.

AkideLiu avatar May 01 '24 12:05 AkideLiu

Run on colab

RuntimeError: Rate limit exceeded for sending requests to poe.com. Please try again later.

Ma-Yongqiang avatar Jun 05 '24 03:06 Ma-Yongqiang

This is fixed in the v1.4.3. Please check documentation for new config.

snowby666 avatar Jun 17 '24 16:06 snowby666