Created using Symfony 4. A basic console application which will scrape the following website url https://videx.comesconnected.com/ and return a JSON array of all the product options on the page.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
PhP 7.2.11
Composer
git clone https://github.com/shorif2000/crawl_website.git
cd crawl_website
composer install
Run following command to execute
php bin/console app:dom-crawler https://videx.comesconnected.com
Tests are run using phpunit
To run tests execute
./vendor/bin/simple-phpunit --bootstrap config/bootstrap.php tests/
This project is licensed under the MIT License - see the LICENSE file for details