reddit-image-extract

0.0.4 • Public • Published

Welcome to redditImageExtract 👋

Version

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

Dependencies (4)

Dev Dependencies (2)

Package Sidebar

Install

npm i reddit-image-extract

Weekly Downloads

0

Version

0.0.4

License

ISC

Unpacked Size

7.58 kB

Total Files

7

Last publish

Collaborators

  • mmoehrlein