nek0us / ChatGPT

a ChatGPT api,no web ui
GNU General Public License v3.0
11 stars 3 forks source link

Login #2

Closed 3mora2 closed 5 months ago

3mora2 commented 7 months ago

there is way to add login by email and password

nek0us commented 7 months ago

I need to wait for a while because I have been busy lately.

3mora2 commented 7 months ago

Ok

nek0us commented 6 months ago

Thank you for your pr. I added a login other than Apple.

3mora2 commented 6 months ago

Base problem is captcha, to solve it we need api. Example

nek0us commented 6 months ago

Base problem is captcha, to solve it we need api. Example

captcha? Are you referring to cloudflare challenge box, or openai arkose?

3mora2 commented 6 months ago

Screenshot_1

when start login in first account show need solve captcha, then it's showing again after 20 or 50 login

3mora2 commented 6 months ago

there is way to login within accessToken from https://chat.openai.com/api/auth/session

nek0us commented 6 months ago

Screenshot_1

when start login in first account show need solve captcha, then it's showing again after 20 or 50 login

Oh, I haven't encountered this situation before. let me take a look.

nek0us commented 5 months ago

hey, I also encountered this verification, I added session_token co-login and caching mechanism to reduce the number of direct logins to reduce the possibility of verification

3mora2 commented 5 months ago

its nice, please add stealth_async to avoid bot detection from cloudflare pip install stealth_async

from playwright.async_api import async_playwright
from playwright_stealth import stealth_async

context = await browser.new_context(service_workers="block")
page = await context.new_page()
await stealth_async(page)
nek0us commented 5 months ago

its nice, please add stealth_async to avoid bot detection from cloudflare pip install stealth_async

from playwright.async_api import async_playwright
from playwright_stealth import stealth_async

context = await browser.new_context(service_workers="block")
page = await context.new_page()
await stealth_async(page)

ok, added