Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 746 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 746 Bytes

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

  1. Fork it ( https://github.com/sam09/ImageScraper/fork )
  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 a new Pull Request