This is a pretty simple Bet365 scraper using Selenium + Beautiful Soup. It can get the odds of any player from any currently running match
Requirements:
While the latest versions of all of these should be compatible, using the versions listed in the req.txt file are guaranteed to work
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
pip install -r req.txt
from scrape import *
in your programget_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 print Alternatively you can just install the scraper using pip by running
python -m pip install bet365