def get_latlon(self, city):
try:
geolocator = Nominatim()
location = geolocator.geocode(city)
latitude, longitude = location.latitude, location.longitude
return latitude, longitude
except:
return -1, -1