Downloads all available pages of a subreddit
MIT License
Script for downloading all links from a particular subreddit in json format. Note that the Reddit API restricts pagination to the last 10 pages or ~1000 results. Data is generated in the following format:
data
)
all.json
- A file with all the page data combined.links.txt
- A txt file with all of the link URLs and titles. Pages are separated by -----
.page_id
.jsonnpm install
In the directory of the repo, run:
node subreddit
Afterwards just follow the prompts.