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

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"
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 = "@traveloka -filter:links filter:replies lang:id"
20
  if option == "Advanced":
21
  query = username
22
  tweets = []