Skip to content

clashhsalc/reddit-user-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reddit User Scraper

Reddit Logo Python Streamlit Pandas Plotly

Python Versions

Analyze Reddit user activity with visualizations and insights.

Features

📊 User activity analysis:

  • Total comments, karma, and average karma per comment
  • Top subreddits by comment count and karma
  • Activity patterns by hour and day of the week
  • Most upvoted and downvoted comments
  • Word cloud generation from user's comments
  • Detailed list of all comments and posts

Installation

  1. Clone this repository:

    git clone https://github.com/clashhsalc/reddit-user-scraper.git
    cd reddit-user-scraper
  2. Install the required packages:

    pip install -r requirements.txt

Usage

  1. Run the Streamlit app:

    streamlit run main.py
  2. Open your web browser and navigate to the URL displayed in the terminal (usually http://localhost:8501).

  3. Enter a Reddit username and press Enter to start the analysis.

  4. View the data fetched!

Requirements

  • Python 3.7+
  • Streamlit
  • Pandas
  • Plotly
  • Requests
  • WordCloud
  • Matplotlib

Contributing

I welcome contributions! Please feel free to submit a Pull Request or open an Issue

Disclaimer

This tool is for educational purposes only. Please respect Reddit's API terms of service and user privacy when using this analyzer.


Made with ❤️ by Aryan

About

visual analytics of a reddit user

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages