innomatrix / wireless_v1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project logo

Wireless Test

Status GitHub Pull Requests License


CLI Scraper App - Symfony + Panther

πŸ“ Table of Contents

🧐 About

Simple scraper for not only (extensible) pricing Packages

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them:

"php": ">=7.2.5",
symfony CLI

https://symfony.com/download

Installing

A step by step series that tell you how to get a development env running.

After cloning run:

composer install

Install ChromeDriver and geckodriver locally

vendor/bin/bdi detect drivers

Fire the sccript:

symfony console app:crawl-website

There are 2 options available:

sortBy=<'ASC','DESC'>
website=..

New Website contract definition to be added under:

App\Scraper

πŸ”§ Running the tests

Unit tests:

./vendor/bin/phpunit

and Stan

./vendor/bin/phpstan analyse src tests

⛏️ Built Using

✍️ Authors

πŸŽ‰ Acknowledgements

  • Hat tip to anyone whose code was used
  • Inspiration
  • References

About


Languages

Language:PHP 94.0%Language:Shell 6.0%