General Hobby Stock Checker

Project Info

GeneralHobby.com Stock Checker

Scrapes and downloads currently in stock items from www.GeneralHobby.com.

I built this because their website is not so fun to navigate and find in stock items. The node script goes to their 'all products' page and goes through each page getting the product's name, a link to the details page, it's price (and discounted price), an image, and the stock status.

It takes ~20sec to run and is mainly constrained by network speed. Hopefully it isn't an unnecessary burden on their website!

Installation

  • Install Git, NodeJS, and Python 2.7.9 (or later; required for jsdom module)
  • Install gulp and bower in global modules. npm install -g gulp bower
  • git clone https://github.com/mikejr83/General-Hobby-Stock-Checker.git
  • npm install && bower install && node index.js && gulp wiredep && gulp serve

If any one of the commands in the chain fails then you will need to investigate each command individually.

Once the installation has setup the node environment and built the page it is only necessary to run node index.js to update the stock list.

Built using the Yeoman gulp-webapp generator. generator-gulp-webapp.

See below for a demo!

What's In Stock?

Find out what you can spend your money on at GeneralHobby.com.

Filter
Ascending Descending
Total: {{filtered.length}} found on {{data.date | date:'medium'}}
  Product Price
{{product.name}} {{product.regularPrice}} {{product.specialPrice}} {{product.regularPrice}}
Total: {{filtered.length}} found on {{data.date}}
There are no products. Have you run node index.js?