Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

undetected chromedriver #47

Closed
wants to merge 13 commits into from
Closed

undetected chromedriver #47

wants to merge 13 commits into from

Conversation

zutto
Copy link

@zutto zutto commented Jul 18, 2023

Hi,

As with the new auth challenges, I started looking into alternatives.
I think this could be an option.

There may be problems if/when cloudflare starts presenting proper captcha challenges, but we'll see how this goes.
This still requires some sanity checking and proper error management (and documentation), but otherwise works out of the box (tested only on linux and mac).


Thoughts? Anyone up for testing this?
Ready to be used by running these commands and installing Chrome. (change the python version to whatever you prefer, tested with 3.11)

git clone https://github.com/acheong08/OpenAIAuth
cd OpenAIAuth
git fetch origin pull/47/head:selenium
git checkout selenium
python3.11 -m pip install -e .

And to rollback to the official one from pypi (or git checkout main & python3.11 -m pip install -e .)

python3.11 -m pip install --upgrade --force-reinstall openaiauth

(note: no MFA or proxy support as of now)

@acheong08
Copy link
Owner

This much is unnecessary. I can rollback some code as this has been reverse engineered before and was the default before the mobile method

@acheong08
Copy link
Owner

e.g. https://github.com/acheong08/OpenAIAuth/blob/0.4.0/auth/OpenAiAuth.go

Since no streaming is required, there is tls_client for python. Can be ported over later

@acheong08
Copy link
Owner

Finished updating the Go version: bc177ac

Method for Python is near identical. todo tonight or tomorrow

@zutto
Copy link
Author

zutto commented Jul 18, 2023

Alright, sounds good. I'll close this PR.

@zutto zutto closed this Jul 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants