Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonathas/pixmania-parser
:computer: Parsing a product from Pixmania's website
https://github.com/jonathas/pixmania-parser
e-commerce parsing php scraper scraping
Last synced: about 2 hours ago
JSON representation
:computer: Parsing a product from Pixmania's website
- Host: GitHub
- URL: https://github.com/jonathas/pixmania-parser
- Owner: jonathas
- License: gpl-2.0
- Created: 2016-02-14T00:59:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-14T00:59:43.000Z (almost 9 years ago)
- Last Synced: 2023-03-12T08:42:34.820Z (over 1 year ago)
- Topics: e-commerce, parsing, php, scraper, scraping
- Language: PHP
- Homepage: http://www.pixmania.co.uk
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pixmania Parser
A PHP code to parse and print (to the commandline - standard output) product name, price and stock (is/is not on stock) of a product from an example page:
http://www.pixmania.co.uk/consumer-dslr/canon-eos-700d-body-only/21326410-a.html
Example output:
```
Product: CANON EOS 700D body only
Price: 355.99
In stock: Yes
```Running:
```
$ composer install$ php pixmania-parser.php
```