Skip to content

Commit

Permalink
sis: add sports field
Browse files Browse the repository at this point in the history
  • Loading branch information
captn3m0 committed Sep 30, 2024
1 parent 5cebb78 commit e4376f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sis.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,12 @@ def fetch_event_details(session, l):
}
# Since SISTERSINSWEAT events can be non-sport events as well
# we add a secondary tag as well to help with filtering
if sport in ["basketball", "football", "badminton", "running", "yoga"]:
if sport in ["basketball", "football", "badminton", "running", "yoga", "pickleball"]:
event["keywords"].append("SISTERSINSWEAT/SPORTS")
event['sport'] = sport.title()
else:
event["keywords"].append("SISTERSINSWEAT/SESSION")

if div:
text = div.text.replace("\n \n", "\n")
event["description"] = text.strip()
Expand Down

0 comments on commit e4376f8

Please sign in to comment.