unofficial-chatgpt-api icon indicating copy to clipboard operation
unofficial-chatgpt-api copied to clipboard

I can't get passed the verify you are a human bottom. Any suggestions?

Open tijgersoftware opened this issue 2 years ago • 8 comments

tijgersoftware avatar Dec 16 '22 07:12 tijgersoftware

I have the same issue. Cannot prompt the captcher of Cloudfare correctly in chromium.

hangzhi22 avatar Dec 19 '22 05:12 hangzhi22

Same here.. Devs are writing code but generally no answers for the issues. Strange.

watzapnet avatar Dec 20 '22 15:12 watzapnet

any work arounds?

peterw avatar Dec 20 '22 15:12 peterw

”puppeteer is an optional peer dependency used to automate bypassing the Cloudflare protections via getOpenAIAuth. The main API wrapper uses fetch directly.” from https://github.com/transitive-bullshit/chatgpt-api#install

I am trying it, by the way, see https://github.com/mefengl/play-chatgpt

mefengl avatar Dec 22 '22 12:12 mefengl

Change in server.py to firefox like this : ` from playwright.sync_api import sync_playwright

PROFILE_DIR = "/tmp/playwright" if '--profile' not in sys.argv else sys.argv[sys.argv.index('--profile') + 1] PORT = 5001 if '--port' not in sys.argv else int(sys.argv[sys.argv.index('--port') + 1]) APP = flask.Flask(name) PLAY = sync_playwright().start() BROWSER = PLAY.firefox.launch_persistent_context( user_data_dir=PROFILE_DIR, headless=False, java_script_enabled=True, ) PAGE = BROWSER.new_page() `

adalbertobrant avatar Jan 02 '23 19:01 adalbertobrant

hi sir sorry i am very first time to join in the github family that's why i am always research sorry... maybe i am overwhelmed person...

Q22aprildd avatar Jan 27 '23 03:01 Q22aprildd

ji sir

navincodesalot avatar Feb 08 '23 16:02 navincodesalot

Cloudflare bot verification has broken this script. Not functional

nettles-sync avatar Nov 19 '23 16:11 nettles-sync