This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 135
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… the original, remove useless pass instructions
This much is unnecessary. I can rollback some code as this has been reverse engineered before and was the default before the mobile method |
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 |
Finished updating the Go version: bc177ac Method for Python is near identical. todo tonight or tomorrow |
Alright, sounds good. I'll close this PR. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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)
And to rollback to the official one from pypi (or
git checkout main
&python3.11 -m pip install -e .
)(note: no MFA or proxy support as of now)