Skip to content

willamesoares/rasp-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rasp-view

Image crawler in Ruby

This respository was created as a guide to more complex projects and is intended to be expanded in the future. This is a basic implementation of an image crawler developed in Ruby with the following dependencies:

  • Nokogiri
  • HTTParty
  • Launchy

If you don't have ruby installed in your environment, this link might help. You might also want to install bundler.

After installing ruby and bundler you can simply type the following in order to install the dependencies:
bundle install

In order to scrape a website you can simply type the following in a terminal, passing the url of whichever website you want:

ruby img_crawler.rb '[website_url]'

Ps.: It's valid noticing that the script used is based on img tags, thus if any of the images in a website is not included within that tag, it won't show up.

About

Image crawler in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published