Commit 755f3ffc authored by Francesco Poldi's avatar Francesco Poldi

#186 args fix

parent 5e927cff
......@@ -111,7 +111,7 @@ class Twint:
break
if self.config.Count:
verbose.Count(self.count, self.config.Username)
verbose.Count(self.count, self.config)
def run(config):
get_event_loop().run_until_complete(Twint(config).main())
......
def Count(count, username):
def Count(count, config):
msg = "[+] Finished: Successfully collected "
if config.Followers:
msg += f"all {count} users who follow @{username}"
msg += f"all {count} users who follow @{config.Username}"
elif config.Following:
msg += f"all {count} users who @{username} follows"
msg += f"all {count} users who @{config.Username} follows"
elif config.Favorites:
msg += f"{count} Tweets that @{username} liked"
msg += f"{count} Tweets that @{config.Username} liked"
else:
msg += f"{count} Tweets"
if config.Username:
msg += f" from @{username}"
msg += f" from @{config.Username}"
msg += "."
print(msg)
......
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