0.0.4 ā€¢ Published 4 years ago

reddit-image-extract v0.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

small script that will download images from a subreddit

šŸ  Homepage

Install

install from npm repository:

npm i -g reddit-image-extract 

clone locally and install:

git clone https://github.com/mmoehrlein/redditImageExtract
cd redditImageExtract
npm i -g

Usage

reddit-image-extract

config

There are several parameters defined through nconf, which can easily be customized.

The hirarchy is: commandline arguments > environment variables > defaults

The following command will pull images from /r/bar

sub=foo; reddit-image-extract --sub bar 

Available Variables

sub

subreddit you want to pull images from type: string default: undefined

dest

directory to save images to type: string default: images/

max

max amount of posts pulled from reddit (not all post have to actually be pictures and will be ignored. Therefore specifying max=200 needn't result in 200 pictures) type: int default: 100

timeout

timeout between batches of requests in ms type: int default: 5000

Author

šŸ‘¤ Michael Moehrlein code@moehrlein.io (moehrlein.io)

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Show your support

Give a ā­ļø if this project helped you!


This README was generated with ā¤ļø by readme-md-generator