Skip to content

Instantly share code, notes, and snippets.

@marcb-it
marcb-it / reddit_scraper.py
Created April 18, 2026 03:42
PRAW script for reading public Reddit posts for market research
import praw
import pandas as pd
reddit = praw.Reddit(
client_id="YOUR_CLIENT_ID",
client_secret="YOUR_CLIENT_SECRET",
user_agent="idea-scraper by u/YOUR_USERNAME"
)
subreddits = ["entrepreneur", "smallbusiness", "startups", "SaaS"]