An application to gather data about archival scores and tables from Flashscore. It scrapes the data using chosen web browser (Firefox or Chrome) and puts them into the database with following structure:
Use pip
to install required modules.
pip install requirements.txt
Use python
to run the scraper
python scrape.py
with following arguments:
Short | Long | Required | Value |
---|---|---|---|
-s | --os | yes | operating system: linux or windows |
-b | --browser | yes | browser used to scraping data: chrome or firefox |
-l | --leagues | yes | countries names; currently supported countries are listed in help |
-h | --help | no | shows parameters description and list of their available values |
python scrape.py -s windows -b chrome -l England Italy Netherlands