Sha256: 17c9cecdbec637104aa466605665d41d16494a6e95794716b41390436a76adaf

Contents?: true

Size: 1.29 KB

Versions: 4

Compression:

Stored size: 1.29 KB

Contents

# ImgDl

A tool download images.
Support recursive search, regex, async download, etc.

## Installation

    $ gem install img_dl

## Usage

Usage: img_dl [OPTION]... URL SAVEPATH

Search Images from URL and save to SAVEPATH.You can specified regular expression as a filter or set a limit num,etc.

Example: img_dl http://google.com /home/me/download/icons

OPTION:
  -r   Enable recursive search, when this option parsed you should option -ul or -il to limit search,otherwise the program maybe can't stop
  -ul  Limit recursive urls count, Only if you specified -r
  -il  Limit download images count
  -ur  Regex filter for recursive url, Example  -ur www.foo.bai/?page=d+
  -ir  Regex filter for images,Example  -ir .gif$
  -pf  Save the file prefix
  -in  Interval, default value is 0
  -h   print this help
  -version  Print version

Examples :
    
    Download 30 pictures from http://sample.tv/image and save to ./images
    -r mean recursive search and -ur mean only search matched urls
    `$ img_dl -r -il 30 -ur sample.tv/image/page=\d+ http://sample.tv/image ./images`

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
img_dl-0.0.4 README.md
img_dl-0.0.3 README.md
img_dl-0.0.2 README.md
img_dl-0.0.1 README.md