Uses Selenium + BeautifulSoup to load a Stern Insider Leaderboard Kiosk view, scrape the results, and generate overall standings.
- Python 3.10
- pipenv
pipenv install
pipenv shell
pipenv run python app.py --url 'https://insider.sternpinball.com/kiosk/fpdgr-PeKmG-mQW/'
pipenv run python app.py --help
- Edit the
index.html
file in thetemplates
directory - Look for the
<h1>COTU Pinball <month> Leaderboard</h1>
header, and update to the new month.
- Edit the
script.sh
script and update the Insider Leadeboard Kiosk URL
sudo apt-get install chromium-chromedriver
sudo apt install python3-pip
pip install pipenv
git config --global user.email "<your_email>"
- (cron) clone master
- (cron) run script
- (script) checkout gh-pages
- (script) run python app
- (script) push changes to gh-pages