Skip to content

ByeongkiJeong/Subreddit_downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Subreddit downloader

  • This python code download a target subreddit of reddit
  • Do not need reddit API key
  • subreddit_downloader.py do not use any API, but it can download only unarchived submissions(live submissions)
  • subreddit_downloader_pushshift_api.py uses Pushshift API, and it download 5 years of the inputed subreddit from now (you can change it in the code by changing '5y' to '1m', '60d', etc.).
  • The data will be saved as a xlsx format

How to use

python subreddit_downloader.py [subreddit name]

or

python subreddit_downloader_pushshift_api.py [subreddit name]

Requirement

  • Python > 3.7 (This code uses f-string to string formatting)
  • Pandas

Others

About

Whole subreddit downloader aka. crawler

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages