ImageScraper
A gem which downloads all the images from a given url.
Installation
Add this line to your application's Gemfile:
gem 'ImageScraper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ImageScraper
Usage
-
Use the gem in your scrpit by adding the following line in your code
require 'ImageScraper'
-
To download all images at a given url
ImageScraper.get_all_images(url)
Contributing
- Fork it ( https://github.com/sam09/ImageScraper/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request