This commit is contained in:
cube
2026-05-30 18:39:09 +01:00
parent 292de5d130
commit 57a6ebbf35
3 changed files with 131 additions and 1 deletions

View File

@@ -1,3 +1,35 @@
# pcs_live
scrapes procyclingstats livestats for use elsewhere
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()
```