robertou2 commited on
Commit
9fd9b0b
1 Parent(s): e4c1222

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def run():
80
  if submit_button:
81
  date_since = "2020-09-14"
82
  new_search = search_words + " -filter:retweets"
83
- tweets = tweepy.Cursor(api.search,q=new_search,lang="es",since=date_since).items(number_of_tweets)
84
  principal(tweets)
85
  #tweets =tw.Cursor(api.search_tweets,q=search_words).items(number_of_tweets)
86
  if submit_button1:
 
80
  if submit_button:
81
  date_since = "2020-09-14"
82
  new_search = search_words + " -filter:retweets"
83
+ tweets = tw.Cursor(api.search,q=new_search,lang="es",since=date_since).items(number_of_tweets)
84
  principal(tweets)
85
  #tweets =tw.Cursor(api.search_tweets,q=search_words).items(number_of_tweets)
86
  if submit_button1: