Joshua1808 commited on
Commit
8daed9c
1 Parent(s): 644926c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -205,7 +205,7 @@ def tweets_localidad(buscar_localidad):
205
  geolocator = Nominatim(user_agent="nombre_del_usuario")
206
  location = geolocator.geocode(buscar_localidad)
207
  radius = "200km"
208
- tweets = api.search_tweets(lang="es",geocode=f"{location.latitude},{location.longitude},{radius}", count = 50)
209
  #for tweet in tweets:
210
  # print(tweet.text)
211
  tweet_list = [i.text for i in tweets]
 
205
  geolocator = Nominatim(user_agent="nombre_del_usuario")
206
  location = geolocator.geocode(buscar_localidad)
207
  radius = "200km"
208
+ tweets = api.search(lang="es",geocode=f"{location.latitude},{location.longitude},{radius}", count = 50)
209
  #for tweet in tweets:
210
  # print(tweet.text)
211
  tweet_list = [i.text for i in tweets]