Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

erdieee/allusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

30 Commits

Repository files navigation

Sport betting scraper

Scrape all desired sports and odds from Oddsportal. Furthermore you can check for arbitrage opportunities.

Example scraped data

Example output of scrape-once. Example output of scrape-once

The following image depicts three arbitrage opportunities found after scraping Example arbitrage Not all rows are displayed in the images above.

After saving the dataframe, you can take a deeper look and manipulate it in a jupyter notebook.

You can take a look at the process of scraping the odds by providing the not-headless option. However it is recommended to scrape without not-headless, in order to speed up the scraping process.

Note While scraping multiple browser pages are loaded at once. If your CPU is slow, your machine might freeze or function slower until the scraping is done. Thus you might want to lower the amount of sports/countries/leagues to scrape.

Commands

List available commands with

python3 allusion --help
#or just
allusion --help

Output:

usage: allusion [-h] [-V] {create-config,scrape-once,list-data} ...
Sport betting bot
positional arguments:
 {create-config,scrape-once,list-data}
 create-config Create template config
 scrape-once Get the data and exit.
 list-data Show the available data.
options:
 -h, --help show this help message and exit
 -V, --version Show bots version and exit.

Install

Clone the repo and run

python3 -m pip install -r requirements.txt
python3 -m pip install -e .
python3 -m playwright install

You will need to create a config file, with the command

allusion create-config

Note: It is recommended to use a virtual environment.

About

Sports betting (Arbitrage) bot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /