Spaces:
Running
Running
BraydenMoore
commited on
Commit
•
f12cc2b
1
Parent(s):
117393a
update update.py
Browse files- Source/Build/update.py +2 -0
Source/Build/update.py
CHANGED
@@ -54,6 +54,8 @@ def get_week():
|
|
54 |
h2_tags = soup.find_all('h2')
|
55 |
year = h2_tags[0].getText().split(' ')[0]
|
56 |
week = h2_tags[0].getText().split(' ')[-1]
|
|
|
|
|
57 |
return int(week), int(year)
|
58 |
|
59 |
def get_lines(season):
|
|
|
54 |
h2_tags = soup.find_all('h2')
|
55 |
year = h2_tags[0].getText().split(' ')[0]
|
56 |
week = h2_tags[0].getText().split(' ')[-1]
|
57 |
+
if week=='CARD':
|
58 |
+
week = 18
|
59 |
return int(week), int(year)
|
60 |
|
61 |
def get_lines(season):
|