Spaces:
Sleeping
Sleeping
Update script/functions.py
Browse files- 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 = "
|
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 = []
|