Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.41 KB

README.md

File metadata and controls

52 lines (40 loc) · 1.41 KB

WilliamHill-WebScraping

A William Hill scraping to get data from William Hill football matches on direct web page.

Installation

1. Install the python modules needed for this project.

Use the package manager pip to install foobar.

>pip install [module_name]

On this project the moduled needed are:

  • datetime
  • selenium
  • logging
  • time
  • urllib
  • urlvalidator
  • csv
  • FootballMatchEvent (from .\WilliamHill-WebScraping\src)
  • coverage
  • unittesting

2. Download chromedriver.exe, needed for this project.

IMPORTANT: It will be needed to have a chromedriver.exe on this path: '.\WilliamHill-WebScraping\tools'

Usage

.\WilliamHill-WebScraping\src>python SeleniumSpyder.py

Data Generated

Automatically after the script execution for each match founded a CSV file will be created in the following repository path:

.\WilliamHill-WebScraping\data>

Logs

Automatically after run the script, it will generate a file 'sypderLog.log' with logs on this path:

.\WilliamHill-WebScraping\logs>

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT