Skip to content
/ redditdl Public

A simple Python script for downloading images from reddit.com.

License

Notifications You must be signed in to change notification settings

mxdzi/redditdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redditdl

A simple Python script for downloading images from reddit.com.

How to install

Run poetry install

How to use

Images are saved in a folder named after the subreddit inside the downloads folder. By default, a subreddit is sorted by new, and images from yesterday are downloaded.

To download all images from a subreddit, pass the subreddit name as the first argument.:

redditdl.py xxx

To download all images from several subreddits pass them as positional arguments:

redditdl.py xxx yyy zzz

To show progress use -v flag:

redditdl.py xxx -v

To download all images use -a flag:

redditdl.py xxx -a

Tests

Run tests with:

poetry run pytest --cov=redditdl --cov-report html

About

A simple Python script for downloading images from reddit.com.

Topics

Resources

License

Stars

Watchers

Forks

Languages