Scrapper which is scrapping event details and odds from MMA recent events.
install selenium.
pip install selenium
install webdriver-manager.
pip install webdriver-manager
install beautifulsoup4.
pip install beautifulsoup4
install Flask-BasicAuth.
pip install Flask-BasicAuth
pip install -r requirements.txt
Use SQLite database. DB mma_odds.db
Use Python Command line to run script.
Use args as Limitdate to scrappe. If not set args, Default value(2013-01-01) will be set for Limitdate.
python3 run_scrapper.py 2022-01-01
Use args as filename to save as file. If not set args, Default value(current time:2023-07-30_8_12_36.csv) will be set for filename.
python3 export_csv.py mydata.csv