Hacker News new | ask | show | jobs
by cvhashim 2059 days ago
Cool :)

I’ve been thinking about building a web app that scrapes specific subreddits.

2 comments

Reddit has a pretty decent API. PRAW is the most commonly used library for it (in Python), but there's https://github.com/not-an-aardvark/snoowrap if you're set on JS too.
You can just append .json for most subreddits, eg https://www.reddit.com/r/startups/ --> https://www.reddit.com/r/startups.json