Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

damireh/amazon-crawler-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Amazon Product Crawler

This script takes in an Amazon product URL (only books for now) and returns information about the book. Title, author, price, ISBN numbers and language.

System dependencies

nokogiri

How to run the test suite

rspec .

How to use

Pass in a URL to the crawl.rb script

./crawl.rb <URL>

Example

./crawl.rb "http://www.amazon.com/dp/0446310786"
--------------------------
Title:    To Kill a Mockingbird
Author:   Harper Lee
Price:    {"Library Binding"=>"$14.21", "Paperback"=>"$10.30", "Mass Market Paperback"=>"$4.99", "Audio CD"=>"$21.74"}
ISBN:     {"ISBN-10"=>"0446310786", "ISBN-13"=>"978-0446310789"}
Language: English

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages