dafqi commited on
Commit
fc26a77
1 Parent(s): 8de50ff

Update script/functions.py

Browse files
Files changed (1) hide show
  1. script/functions.py +1 -1
script/functions.py CHANGED
@@ -16,7 +16,7 @@ from nltk.tokenize import word_tokenize
16
 
17
  def get_tweets(username, length=10, option = None):
18
  # Creating list to append tweet data to
19
- query = "@traveloka -filter:links filter:replies lang:id"
20
  if option == "Advanced":
21
  query = username
22
  tweets = []
 
16
 
17
  def get_tweets(username, length=10, option = None):
18
  # Creating list to append tweet data to
19
+ query = username + " -filter:links filter:replies lang:id"
20
  if option == "Advanced":
21
  query = username
22
  tweets = []