From eab1caa325c4360b0a1e0defb86e6349f71cfb89 Mon Sep 17 00:00:00 2001 From: cube Date: Sun, 31 May 2026 15:01:53 +0100 Subject: [PATCH] for testing --- pcslive.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcslive.py b/pcslive.py index f36ae73..bb47b38 100644 --- a/pcslive.py +++ b/pcslive.py @@ -11,9 +11,9 @@ class LiveStats: # it also gets rid of all the horrible polygon stuff def refresh_races(self): # the entire front page of PCS loaded into soup - req = requests.get("https://www.procyclingstats.com/") - html = req.text - soup = BeautifulSoup(html, "html.parser") + self.req = requests.get("https://www.procyclingstats.com/") + self.html = self.req.text + soup = BeautifulSoup(self.html, "html.parser") # narrow it down to the little green live stats boxes showing us what # races are currently live