pricecheck

command module
v0.0.0-...-a66f777 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2013 License: BSD-3-Clause Imports: 12 Imported by: 0

README

pricecheck

Pricecheck is a command line tool to retrieve prices listed on the Web.

Usage

Pricecheck requires two YAML configuration files: one for stores, and one for products. See the included YAML configuration files to understand their required format. The stores file requires an XPath to locate the price in the DOM; these are similar to, but not compatible with, more familiar jQuery selectors.

(Note: Go is a compiled language. To run Pricecheck, you must first compile the application.)

From the command line, run like so:

$ ./pricecheck -s stores.yaml -p products.yaml

Quirks

  • Cannot retrieve multiple prices from the same domain (e.g., display both the Nook and the hardcover price from Barnes & Noble)

License

BSD 3-Clause (Revised) License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL