Giter Site home page Giter Site logo

Comments (8)

peterw avatar peterw commented on June 6, 2024 4

any work arounds?

from unofficial-chatgpt-api.

mefengl avatar mefengl commented on June 6, 2024 1

”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

from unofficial-chatgpt-api.

adalbertobrant avatar adalbertobrant commented on June 6, 2024 1

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

from unofficial-chatgpt-api.

hangzhi22 avatar hangzhi22 commented on June 6, 2024

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

from unofficial-chatgpt-api.

watzapnet avatar watzapnet commented on June 6, 2024

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

from unofficial-chatgpt-api.

Q22aprildd avatar Q22aprildd commented on June 6, 2024

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

from unofficial-chatgpt-api.

navincodesalot avatar navincodesalot commented on June 6, 2024

ji sir

from unofficial-chatgpt-api.

nettles-sync avatar nettles-sync commented on June 6, 2024

Cloudflare bot verification has broken this script. Not functional

from unofficial-chatgpt-api.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.