reddit-image-extract
v0.0.4
Published
small script that will download all images posted in a subreddit
Downloads
2
Maintainers
Readme
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 [email protected] (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