Skip to content

dimdasci/export-reddit-posts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

export-reddit-posts

Based on How to Use the Reddit API in Python article by James Briggs.

Installation

make requirements

Usage

export_posts.py [OPTIONS] [SUBREDDITS]...

Exports posts and comments of given subreddits

Options:

  • -n, --number INTEGER — number of posts to export
  • -d, --days INTEGER — number of days from now to to export posts
  • -f, --output-format [csv or parquet] — an output file format: csv or parquet
  • -o, --output TEXT — path to an output file
  • -l, --log TEXT — path to a log file
  • -c, --comments — export comments to each post
  • --help Show this message and exit

About

Exports posts and comments of a given subreddit.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published