Skip to content

E7Systems/vin-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIN Scraper

##Installation

Tested with ruby-2.0.0-p353

Make sure that you have MySQL installed and you have created the database named vin_data and the table named vins. Change the MySQL username and/or password in vin_scraper.rb if necessary.

The SQL query to create the table is:

CREATE TABLE vins
(
    id INT NOT NULL AUTO_INCREMENT,
    year SMALLINT UNSIGNED NOT NULL,
    make VARCHAR(255) NOT NULL,
    model VARCHAR(255) NOT NULL,
    vin VARCHAR(255) NOT NULL,
    UNIQUE KEY unique_vin (vin),
    PRIMARY KEY(id)
);

Install required Ruby Gems to use the scraper (assuming you are using RVM)

rvm use ruby-2.0.0-p353
bundle install

Run the scraper.

ruby vin_scraper.rb

About

Repo for a Instavin Vin scraper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages