Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ChatGPT and Claude #66

Closed
lantinglou opened this issue Apr 17, 2024 · 5 comments
Closed

Fix ChatGPT and Claude #66

lantinglou opened this issue Apr 17, 2024 · 5 comments

Comments

@lantinglou
Copy link

Hello,

Since the ChatGPT and Claude websites have been updated to a new version, the old codes no longer work. Could you please update them?

@ugorsahin
Copy link
Owner

Hello, ChatGPT is functioning properly for me. If you could provide any error messages you're encountering, I'd be happy to investigate further

@lantinglou
Copy link
Author

lantinglou commented Apr 18, 2024

Hi, sir
Thanks for your reply.
In my case, talkingheads can open Chrome and visit openai website.

But chatgpt will check if it's a robot, after i manual pass it and type chatgpt username , the Robot check come again and agin, i can't pass it... until about 2mins the program exit....(i use Gemini manual profile method )

And also i can not use username and password to login chatgpt automatically.

@ugorsahin
Copy link
Owner

Are you repeatedly attempting to pass through this verification page without success?
chatgpt

You may come across this page due to various factors, such as your IP address, incognito mode, or user agent, or combination of them. Disabling incognito mode or setting headless mode to false may resolve your problem. However, if you're using a VPN, it is most likely to trigger bot detection.

@lantinglou
Copy link
Author

lantinglou commented Apr 18, 2024

  1. Yes,sir. It is the verification page. and you are correct i am using a VPN. But i can use Chatgpt in a normal Chrome and also can use this python library https://github.com/Michelangelo27/chatgpt_selenium_automation

  2. I have disabled incognito and headless mode. ( I want login using ChatGPT4 like Gemini method) Here is my code, Could you please check it?

from talkingheads import ChatGPTClient
chathead = ChatGPTClient(
cold_start=True,
incognito=False,
headless=False,
verbose=True,
credential_check=False,
user_data_dir='/Users/androids/Downloads/profile'
)
chathead = ChatGPTClient(
verbose=True,
incognito=False,
headless=False,
credential_check=False,
user_data_dir='/Users/androids/Downloads/profile'
)
response = chathead.interact("hi,GhatGPT")
print(response)

@lantinglou
Copy link
Author

lantinglou commented Apr 19, 2024

Update: The following code works well without login but I need login and use ChatGPT4

from talkingheads import ChatGPTClient
chathead = ChatGPTClient(
cold_start=True,
incognito=False,
headless=True,
verbose=True,
user_data_dir='/Users/androids/Downloads/profile'
)
response = chathead.interact("hi,GhatGPT")
print(response)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants