TalkingHeads icon indicating copy to clipboard operation
TalkingHeads copied to clipboard

Fix ChatGPT and Claude

Open lantinglou opened this issue 10 months ago • 5 comments

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?

lantinglou avatar Apr 17 '24 17:04 lantinglou

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

ugorsahin avatar Apr 18 '24 14:04 ugorsahin

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.

lantinglou avatar Apr 18 '24 14:04 lantinglou

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.

ugorsahin avatar Apr 18 '24 15:04 ugorsahin

  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 avatar Apr 18 '24 15:04 lantinglou

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)

lantinglou avatar Apr 19 '24 01:04 lantinglou