diff --git a/locator.py b/locator.py index feaa56d..0879a73 100644 --- a/locator.py +++ b/locator.py @@ -18,6 +18,8 @@ for article in articles: locations = get_geoloc(query) + # TODO: Only insert matches that have a higher confidence than current + # ones for location in locations: location["article"] = article location["match"] = query