https://github.com/errm/scraping_ebay
https://github.com/errm/scraping_ebay
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/errm/scraping_ebay
- Owner: errm
- Created: 2015-04-14T05:53:46.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-14T05:59:56.000Z (about 11 years ago)
- Last Synced: 2025-02-07T11:22:29.366Z (over 1 year ago)
- Language: Ruby
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ebay Phone Scraper
This is an example to ilustrate some features of [wombat](https://github.com/felipecsl/wombat) a ruby web scraping gem.
This is clearly a toy example, In real life it would make more sense to use the [Ebay Shopping API](http://developer.ebay.com/Devzone/shopping/docs/Concepts/ShoppingAPIGuide.html)
## Usage
Install the gems:
`bundle install`
Run it:
```
$ bundle exec ruby scraper.rb nokia
The Cheepest nokia
Nokia XpressMusic 5310 - Red (Unlocked) Mobile Phone - £12.50
The Dearest nokia
Nokia Lumia 820 - 8 GB - Black (Orange) Smartphone - £34.00
```
or
```
$ bundle exec ruby scraper.rb iphone
The Cheepest iphone
apple iphone 3 - £26.00
The Dearest iphone
Apple iPhone 5s - 16 GB - Gold (Unlocked) Smartphone - £299.99
```