aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2021-02-08 20:31:45 -0500
committerGalen Guyer <galen@galenguyer.com>2021-02-08 20:31:55 -0500
commitd1bbe068e77e2504d6e300fdf586ddd8afc29a2f (patch)
tree6b3c2ffbb278624bc47788c49e5eed855ea455ee
parentf3e7b27cc85f829142699d104ffebd0e44c547e7 (diff)
I am fool
-rw-r--r--poller/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poller/__init__.py b/poller/__init__.py
index fcfcc6b..ebb2653 100644
--- a/poller/__init__.py
+++ b/poller/__init__.py
@@ -74,8 +74,8 @@ def get_data():
soup = BeautifulSoup(page.content, 'html.parser')
total_students = int(soup.find('div', attrs={'class': 'statistic-13872'}).find_all("p", attrs={'class': 'card-header'})[0].text.strip())
total_staff = int(soup.find('div', attrs={'class': 'statistic-13875'}).find_all("p", attrs={'class': 'card-header'})[0].text.strip())
- new_students = int(soup.find('div', attrs={'class': 'statistic-14335'}).find_all("p", attrs={'class': 'card-header'})[0].text.strip())
- new_staff = int(soup.find('div', attrs={'class': 'statistic-14332'}).find_all("p", attrs={'class': 'card-header'})[0].text.strip())
+ new_students = int(soup.find('div', attrs={'class': 'statistic-14332'}).find_all("p", attrs={'class': 'card-header'})[0].text.strip())
+ new_staff = int(soup.find('div', attrs={'class': 'statistic-14335'}).find_all("p", attrs={'class': 'card-header'})[0].text.strip())
quarantine_on_campus = int(soup.find('div', attrs={'class': 'statistic-13893'}).find_all("p", attrs={'class': 'card-header'})[0].text.strip())
quarantine_off_campus = int(soup.find('div', attrs={'class': 'statistic-13896'}).find_all("p", attrs={'class': 'card-header'})[0].text.strip())
isolation_on_campus = int(soup.find('div', attrs={'class': 'statistic-13905'}).find_all("p", attrs={'class': 'card-header'})[0].text.strip())