-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
093670d
commit 76be6c5
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# `auvieux-scraper`: extract price and name from a *Au Vieux Campeur* product reference | ||
|
||
This is a simple scraper used to extract product name and price given a reference. | ||
Every product gets printed on stdout as a CSV line | ||
|
||
## Usage | ||
|
||
```shell | ||
$ auvieux-scraper 12345 654321 | ||
Référence;Désignation;Prix TTC | ||
12345;My super item;134 | ||
654321;Other important item;42 | ||
``` | ||
|
||
## Build | ||
|
||
To compile this, you need: | ||
|
||
* a working Go (>= 1.6) installation | ||
* `make` | ||
* `glide` | ||
|
||
```shell | ||
$ git clone https://github.com/j-vizcaino/auvieux-scraper.git $GOPATH/src/auvieux-scraper | ||
$ cd $GOPATH/src/auvieux-scraper | ||
$ make deps | ||
$ make | ||
``` | ||
|