I wanted to write a python script that could cache my conversations with ChatGPT. Solely for the purpose of being able to clear out the old ones without completely losing them. Was just planning on storing them in an html file on my local machine, no where else.
You may not … use any method to extract data from the Services, including web scraping, web harvesting, or web data extraction methods, other than as permitted through the API;
My interpretation is that scraping your ChatGPT conversations would go against the Terms of Services, UNLESS you have access to the ChatGPT API.
It is possible to save page from a browser to local drive. Afaik, this is ok to do. If this saved webpage is then parsed with some code of python, js, c or whatever, no rules are broken?
Yup it’s possible. Just use the follow steps:
- open up converation page in browser
- save as HTML “conversation.html” file.
- write python “script.py” file to parse through HTML file with beautifulSoup. print or manipulate the data as neccessary.
Hope this helps!