Skip to content

billyb2/bet365-scraper

Repository files navigation

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
  • urllib3

While 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 print

Alternatively you can just install the scraper using pip by running

python -m pip install bet365

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages