Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jke94/williamhill-webscraping
A William Hill scraping to get data form William Hill web page.
https://github.com/jke94/williamhill-webscraping
chromedriver csv python webscrapping williamhill
Last synced: about 1 month ago
JSON representation
A William Hill scraping to get data form William Hill web page.
- Host: GitHub
- URL: https://github.com/jke94/williamhill-webscraping
- Owner: jke94
- License: mit
- Created: 2020-10-08T17:19:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-17T08:51:14.000Z (about 4 years ago)
- Last Synced: 2024-11-13T15:54:10.836Z (3 months ago)
- Topics: chromedriver, csv, python, webscrapping, williamhill
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WilliamHill-WebScraping
A William Hill scraping to get data from [William Hill football matches on direct web page]('https://sports.williamhill.es/betting/es-es/en-directo/fútbol").## Installation
### 1. Install the python modules needed for this project.
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.```cmd
>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](https://chromedriver.chromium.org/downloads) on this path: '.\WilliamHill-WebScraping\tools'## Usage
```cmd
.\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:```cmd
.\WilliamHill-WebScraping\data>
```## Logs
Automatically after run the script, it will generate a file 'sypderLog.log' with logs on this path:
```cmd
.\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](https://choosealicense.com/licenses/mit/)