This is a command line tool that uses a config file to download images from a list of subreddits.
This is a Rust port of a Go app used to help better understand Rust, and async using Tokio
To build, run
$ cargo build --release
reddit_image_downloader 0.1.0
Application to download images from Reddit
USAGE:
reddit_image_downloader [OPTIONS]
OPTIONS:
-c, --config <CONFIG> Path to config file [default: config.toml]
-h, --help Print help information
-V, --version Print version information
- subreddits: List of Subreddits to look for images in
- file_ext: What file type to download
- download_path: Path to download files into
subreddits = [
"EarthPorn",
"Wallpapers",
"ServerPorn",
"unixporn",
"CoffeePorn",
"battlestations",
"Aww",
"Beerwithaview",
"OldSchoolCool",
"TheWayWeWere",
"SkyPorn",
"spaceporn",
"itookapicture",
]
download_path = "download"
[file_ext]
jpg = true
png = true
gif = true