1.1.0 • Published 8 years ago

rslashimg v1.1.0

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

/r/img

A utility for downloading pictures linked to posts on reddit.

CLI

rslashimg is the CLI command, run npm i -g rslashimg to use it in the command line

Examples:

$ rslashimg earthporn

Downloads images attached to the top 25 posts of the /r/earthporn subreddit to the current directory. Handy for making a wallpaper gallery.

Usage:

$ rslashimg <subreddit> [options]

subreddit is a required parameter specifying the subreddit to scrape for images

Options

CommandDescriptionDefault
-n, --numberNumber of posts to scrape for images25
-w, --widthMinimum width of images to download1920
-h, --heightMinimum height of images to download1080
-t, --typesTypes of images to download"png,jpg"
-s, --sortSort subreddit by filter (see below)hot
-d, --dirDirectory to save images tocurrent dir

Filters

  • hot
  • new
  • controversial
  • top