Skip to content

Commit c0e67d6

Browse files
committed
fix scraper dtstamp longitude latitdue
1 parent fe93ba0 commit c0e67d6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

backend/scraping/instagram_feed.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,6 @@ def insert_event_to_db(event_data, ig_handle, source_url):
222222
price = event_data.get("price", None)
223223
food = event_data.get("food", None)
224224
registration = bool(event_data.get("registration", False))
225-
latitude = event_data.get("latitude", None)
226-
longitude = event_data.get("longitude", None)
227225
school = event_data.get("school", "")
228226
categories = event_data.get("categories", [])
229227
occurrences = event_data.get("occurrences")
@@ -253,7 +251,6 @@ def insert_event_to_db(event_data, ig_handle, source_url):
253251
"ig_handle": ig_handle,
254252
"title": title,
255253
"source_url": source_url,
256-
"dtstamp": timezone.now(),
257254
"club_type": club_type,
258255
"location": location,
259256
"food": food or None,
@@ -263,8 +260,6 @@ def insert_event_to_db(event_data, ig_handle, source_url):
263260
"reactions": {},
264261
"source_image_url": source_image_url or None,
265262
"status": "CONFIRMED",
266-
"latitude": latitude,
267-
"longitude": longitude,
268263
"school": school,
269264
"categories": categories,
270265
}

0 commit comments

Comments
 (0)