pionxzh / chatgpt-exporter

Export and Share your ChatGPT conversation history
MIT License
1.32k stars 103 forks source link

Domain name changed, breaks script #232

Closed KanchiMoe closed 6 months ago

KanchiMoe commented 6 months ago

The domain name for ChatGPT has changed (or is in the process of changing) from chat.openai.com to chatgpt.com.

The login screen is still on openai but once logged in, you are redirected to chatgpt.com.

pionxzh commented 6 months ago

I think you got ab tested, I can still use chat.openai.com. 🤔

And chatgpt.com will redirect me to chat.openai.com. Do you have the source of this news?

geocell commented 6 months ago

I am experiencing the same issue. There is a redirect, but from chat.openai.com to chatgpt.com, and Tampermonkey will then not be able to identify the page. I tried to copy/paste/add/adapt all the match statements to include chatgpt.com, but that does not seem to be sufficient. I got a HTML export menu entry, but no follow-up action.

geocell commented 6 months ago

I does work when adapting the API mapping as well. const API_MAPPING = { "https://chat.openai.com": "https://chatgpt.com/backend-api", "https://chatgpt.com": "https://chatgpt.com/backend-api" };

pionxzh commented 6 months ago

I see. Then I think this is something really happening.

pionxzh commented 6 months ago

I just updated the script to make it work on chatgpt.com. Thanks @geocell for testing out the changes needed. 🙏