fix typo
This commit is contained in:
parent
6902f09003
commit
528345d50f
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -136,7 +136,7 @@ def dining_data():
|
||||||
data = cache.get("dining")
|
data = cache.get("dining")
|
||||||
if data: return data
|
if data: return data
|
||||||
|
|
||||||
base = "https://louisville.campusdish.com/LocationsAndMenus/Belknap"
|
base = "https://louisville.campusdish.com/LocationsAndMenus/Belknap/"
|
||||||
locations = dict()
|
locations = dict()
|
||||||
for location in re.findall(r':"/LocationsAndMenus/Belknap/([^",]+)', requests.get(base).text):
|
for location in re.findall(r':"/LocationsAndMenus/Belknap/([^",]+)', requests.get(base).text):
|
||||||
locations[location] = dict()
|
locations[location] = dict()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue