DoD Contracts, Maps and Austria

This commit is contained in:
2026-02-19 22:49:47 -05:00
parent 3c4a41ae2c
commit 3eda7647e9
13 changed files with 469 additions and 38 deletions

View File

@@ -75,15 +75,14 @@ for hE in houseEvents:
event_type = 'Gv',
show_title = title,
show_link = link,
show_date = datetime.strptime(dateTime, DATETIME_FORMAT),
show_day = datetime.strptime(dateTime + tz_str, DATETIME_FORMAT).date(),
show_date = datetime.strptime(dateTime + tz_str, DATETIME_FORMAT),
# more_details = details['location'],
venue = venue,
scraper = scraper
)
if type(new_event) is tuple:
print("STS: ", new_event)
print("HOUSE: ", new_event)
add_calendar(new_event[0], 'msp')
else:
add_calendar(new_event, 'msp')
@@ -112,8 +111,7 @@ for sE in senateEvents:
event_type = 'Gv',
show_title = title,
show_link = link,
show_date = datetime.strptime(dateTime, DATETIME_FORMAT),
show_day = datetime.strptime(dateTime + tz_str, DATETIME_FORMAT).date(),
show_date = datetime.strptime(dateTime + tz_str, DATETIME_FORMAT),
# more_details = details['location'],
venue = venue,
scraper = scraper
@@ -146,14 +144,13 @@ for cE in commEvents:
event_type = 'Gv',
show_title = title,
show_link = link,
show_date = datetime.strptime(dateTime, DATETIME_FORMAT),
show_day = datetime.strptime(dateTime + tz_str, DATETIME_FORMAT).date(),
show_date = datetime.strptime(dateTime + tz_str, DATETIME_FORMAT),
# more_details = details['location'],
venue = venue,
scraper = scraper
)
if type(new_event) is tuple:
print("STS: ", new_event)
print("COMMS: ", new_event)
add_calendar(new_event[0], 'msp')
else:
add_calendar(new_event, 'msp')

View File

@@ -66,7 +66,6 @@ def getEvents(br):
show_title = title,
show_link = link,
show_date = datetime.strptime(dateTime + tz_str, DATETIME_FORMAT),
show_day = datetime.strptime(dateTime, DATETIME_FORMAT),
venue = venue,
scraper = scraper
)