Spaces:
Runtime error
Runtime error
Commit
·
33914fe
1
Parent(s):
19aeb3f
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ def tweets_localidad(buscar_localidad):
|
|
120 |
geolocator = Nominatim(user_agent="nombre_del_usuario")
|
121 |
location = geolocator.geocode(buscar_localidad)
|
122 |
radius = "10km"
|
123 |
-
tweets = api.search_tweets(q="",lang="es",geocode=f"{location.latitude},{location.longitude},{radius}", count =
|
124 |
result = []
|
125 |
for tweet in tweets:
|
126 |
if (tweet.full_text.startswith):
|
|
|
120 |
geolocator = Nominatim(user_agent="nombre_del_usuario")
|
121 |
location = geolocator.geocode(buscar_localidad)
|
122 |
radius = "10km"
|
123 |
+
tweets = api.search_tweets(q="",lang="es",geocode=f"{location.latitude},{location.longitude},{radius}", count = 500, tweet_mode="extended")
|
124 |
result = []
|
125 |
for tweet in tweets:
|
126 |
if (tweet.full_text.startswith):
|