reddit-image-extract v0.0.4
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)
- Github: @mmoehrlein
š¤ 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