Ralfouzan commited on
Commit
a50fbaa
·
1 Parent(s): 8b1fcc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ class Preprocessor:
133
 
134
  def No_Rumors(tx):
135
  no_of_tweets = api.get_user(screen_name="No_Rumors").statuses_count
136
- tweets = tweepy.Cursor(api.user_timeline,screen_name=username, tweet_mode="extended").items(no_of_tweets)
137
  data = []
138
  for i in tweets:
139
  data.append({"text":i.full_text})
 
133
 
134
  def No_Rumors(tx):
135
  no_of_tweets = api.get_user(screen_name="No_Rumors").statuses_count
136
+ tweets = tweepy.Cursor(api.user_timeline,screen_name="No_Rumors", tweet_mode="extended").items(no_of_tweets)
137
  data = []
138
  for i in tweets:
139
  data.append({"text":i.full_text})