For my own scraper of Ohio's referee assignments and adding them to Google Calendar.
- Make sure python 3 is installed
python3 --version
- Install dependencies
pip3 install -r requirements.txt
- copy the
login_info_sample.json
and name the filelogin_info.json
. Then edit that file for the credentials for your login to each website.
python3 -m app
Arguments:
SITE
For scraping one of the different websites. Defaults to ohio_south
. Available options are ohio_south
and mvysa
.
We use beautiful soup to webscrape for games matching the configured name and adds games assigned to a linked Google Calendar. It then emails the configured to_email.