only tell me about events at buttonwillow or thunderhll

This commit is contained in:
Luke Robles 2021-09-23 15:43:18 -07:00
parent 3e19edf70a
commit b1c087651f

View File

@ -21,6 +21,8 @@ def get_msreg():
pp = pprint.PrettyPrinter(indent=4)
for event in json_blob['event']:
tracks_we_care_about = ["buttonwillow", "thunderhill"]
if any(x in event['name'].lower() for x in tracks_we_care_about):
event_object = {
'event_name': event['name'],
'event_url': event['detailuri'].split('?utm')[0],