Skip to content

Latest commit

 

History

History
38 lines (19 loc) · 892 Bytes

README.md

File metadata and controls

38 lines (19 loc) · 892 Bytes

Loc Scraper

Build Status

LocScraper is a gem for scraping Loc catalog pages. Given the ISBN of the book, it gets the title, dewey, etc.

##Installation

Install the gem from RubyGems:

gem install loc_scraper

This gem is tested on 1.9.3

##Usage

Initialize a scraper instance

record = LocScraper::Record.get("9781609543914")

The returning object responds to the following methods

record.name          # The name of the book

record.dewey         # The dewey of the book

Special Thanks

This code is derived from LinkedIn Scraper, a gem developed by Yatish Mehta.

License

The gem is available as open source under the terms of the MIT License.