more scrapers

This commit is contained in:
2026-01-24 19:01:47 -05:00
parent 7013d8327a
commit 3c4a41ae2c
58 changed files with 1614 additions and 2988 deletions

View File

@@ -32,8 +32,9 @@ except Exception as e:
print("Scraper: ", scraper)
tz = pytz.timezone("US/Central")
tz_str = " -0600 UTC"
DATETIME_FORMAT = '%B %d, %Y at %I:%M %p'
DATETIME_FORMAT = '%B %d, %Y at %I:%M %p %z %Z'
calendar_url = 'https://www.stpaul.gov/calendar'
city_site = "https://www.stpaul.gov"
@@ -64,7 +65,7 @@ def getEvents(br):
event_type = 'Gv',
show_title = title,
show_link = link,
show_date = datetime.strptime(dateTime, DATETIME_FORMAT),
show_date = datetime.strptime(dateTime + tz_str, DATETIME_FORMAT),
show_day = datetime.strptime(dateTime, DATETIME_FORMAT),
venue = venue,
scraper = scraper