This project is a Reddit comment scraper developed in Python. It allows users to enter the ID of a Reddit post and extract all comments and their replies, saving the data to a JSON file.
- Graphical user interface for ease of use.
- Extraction of all comments and replies from a specified Reddit post.
- Display of the total number of comments and replies after scraping.
- Ability to save the data to a JSON file.
- Python
- Tkinter for the graphical interface
- PRAW (Python Reddit API Wrapper) for accessing Reddit data: https://www.reddit.com/prefs/apps
- Clone the repository to your local machine.
- Install the necessary dependencies, including
praw
andtkinter
. - Run the Python script.
- Enter the ID of the Reddit post in the graphical interface.
- Click "Scrape" to start extracting comments.
- Upon completion, a summary of the total comments and replies will be displayed.
- Click "Save" to save the data to a JSON file.
Ensure you have Python installed on your computer. Then, install the required dependencies:
pip install praw