A console application that scrapes the Sainsbury’s grocery site - Ripe Fruits page and returns a JSON array of all the products on the page.
- PHP v5.6
- Composer
- Clone the project.
- Run
composer install
Run php console scrape:products
to scrape all the products from the Ripe Fruits page.
Run vendor/bin/phpunit app/tests/