aboutsummaryrefslogtreecommitdiff
path: root/python-twint-userlist.patch
blob: 1d5b8603bce1157d339f9b15564fbb617a105f2f (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/twint/cli.py b/twint/cli.py
index f463d68..68244c9 100644
--- a/twint/cli.py
+++ b/twint/cli.py
@@ -69,10 +69,10 @@ def loadUserList(ul, _type):
     else:
         userlist = ul.split(",")
     if _type == "search":
-        un = ""
-        for user in userlist:
-            un += "%20OR%20from%3A" + user
-        return un[15:]
+        un = userlist[0]
+        for user in userlist[1:]:
+            un += " OR from:" + user
+        return un
     return userlist