taranjeet / unofficial-chatgpt-api

This repo is unofficial ChatGPT api. It is based on Daniel Gross's WhatsApp GPT
https://embedchain.ai
MIT License
688 stars 141 forks source link

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

Open tijgersoftware opened 1 year ago

hangzhi22 commented 1 year ago

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

watzapnet commented 1 year ago

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

peterw commented 1 year ago

any work arounds?

mefengl commented 1 year ago

”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

adalbertobrant commented 1 year ago

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() `

Q22aprildd commented 1 year ago

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...

navincodesalot commented 1 year ago

ji sir

nettles-sync commented 9 months ago

Cloudflare bot verification has broken this script. Not functional