Files
pcs_live/README.md
2026-05-30 18:39:09 +01:00

36 lines
453 B
Markdown

# pcs_live
scrapes procyclingstats livestats for use elsewhere
# setup (windows)
after cloning set up a virtualenv
```
py -3 -m venv .venv
.venv\Scripts\activate
```
you may need to run this first before activating the virtualenv
```
Set-ExecutionPolicy Unrestricted -Force
```
install dependencies
```
pip install beautifulsoup4
pip install requests
```
# usage
```
from pcslive import LiveStats
stats = LiveStats()
stats.print_races()
```