Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/billyb2/bet365-scraper
https://github.com/billyb2/bet365-scraper
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/billyb2/bet365-scraper
- Owner: billyb2
- License: gpl-2.0
- Created: 2020-05-20T18:53:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-13T13:05:27.000Z (about 4 years ago)
- Last Synced: 2024-11-01T05:51:41.258Z (13 days ago)
- Language: Python
- Size: 15.8 MB
- Stars: 10
- Watchers: 6
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bet365-Scraper
This is a pretty simple Bet365 scraper using Selenium + Beautiful Soup. It can get the odds of any player from any currently running match## WARNING: This currently only works on Windows. With some modification, it can be made to work on Linux (make a pull request!)
Requirements:
* beautifulsoup4
* selenium
* soupsieve
* urllib3While the latest versions of all of these should be compatible, using the versions listed in the req.txt file are guaranteed to work
## Installation instructions
### Building from source
To install from source, simply clone this repository. First, install the requirements:`python3 -m pip install -r req.txt`
Then, install it:
`python bet365/setup.py install`
### For Windows
1. Install Chrome Beta using the install file in the repo
2. Install dependencies by running `pip install -r req.txt`
3. Include the get_data function by having `from scrape import *` in your program
4. Use the `get_odds_data` function to retrieve data from any currently running game. Add True or False to whether to include debug info. to have certain commands printAlternatively you can just install the scraper using pip by running
`python -m pip install bet365`