Shared Conversation Scraper API: Extracting Dialogues from ChatGPT, Bing, and Poe and Converting Them to JSON Format. Available in Python and JavaScript.
- Install NodeJS: https://nodejs.org/en Make sure you have (LTS) installed
cd javascript_version
- navigate to correct directorynpm install
- to install the required dependencies: (node_modules folder and package-lock.json)- Make sure to replace
https://chat.openai.com/share/[id]
inscrape.js - line 19
with any share link you want to scrape. npm start
- Your server will be hosted at http://localhost:3000/Ctrl+C
+y
+Enter
to shut down server.- Repeat Step 4
- Install Python: Make sure you have Python installed. You can download it from python.org.
cd python_version
- navigate to correct directorypip install Flask requests beautifulsoup4
- to install the required dependencies- Make sure to replace
https://poe.com/s/[id]
inscrape.py - line 19
with any share link you want to scrape. python scrape.py
- Your server will be hosted at http://localhost:5000/Ctrl+C
to shut down server- Repeat Step 4