Commit 846babf6 authored by Francesco Poldi's avatar Francesco Poldi

Fix #130

parent 0a505397
...@@ -169,11 +169,14 @@ def main(): ...@@ -169,11 +169,14 @@ def main():
elif args.followers: elif args.followers:
twint.run.Followers(c) twint.run.Followers(c)
elif args.retweets or args.profile_full: elif args.retweets or args.profile_full:
if args.userlist:
_userlist = loadUserList(args.userlist, "profile") _userlist = loadUserList(args.userlist, "profile")
for _user in _userlist: for _user in _userlist:
args.username = _user args.username = _user
c = initialize(args) c = initialize(args)
twint.run.Profile(c) twint.run.Profile(c)
else:
twint.run.Profile(c)
else: else:
twint.run.Search(c) twint.run.Search(c)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment