API KEYS working
This commit is contained in:
@@ -59,7 +59,6 @@ def splitLocation(event):
|
||||
venue, created = Organization.objects.get_or_create(
|
||||
name=venue_name,
|
||||
city="Medellin",
|
||||
website="https://idioki.com/",
|
||||
)
|
||||
event['venue'] = venue
|
||||
return event
|
||||
@@ -96,13 +95,7 @@ for component in gcal.walk():
|
||||
days = ["SU", "MO", "TU", "WE", "TH", "FR", "SA"]
|
||||
for day in rules['BYDAY']:
|
||||
day = days.index(day)
|
||||
loc_split = event['strLocation'].split(",")
|
||||
venue, created = Organization.objects.get_or_create(
|
||||
name=loc_split[0],
|
||||
city="Medellin",
|
||||
website="https://idioki.com/",
|
||||
)
|
||||
createEvent(day, date, event, scraper, venue, "Ed")
|
||||
createEvent(day, date, event, scraper, event['venue'], "Ed")
|
||||
|
||||
digitools.updateScraper(scraper, item_count_start)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user