A gem which downloads all the images from a given url.
Add this line to your application's Gemfile:
gem 'ImageScraper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ImageScraper
-
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)
- 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