Small output changes

pull/1281/head
aristotelis gkithkopoulos 2 years ago
parent 28b49ef898
commit 780395c030

@ -1,5 +1,6 @@
"""Sherlock Module
""" Sherlock Module
This module contains the main logic to search for usernames at social
networks.
"""

@ -155,6 +155,33 @@ class QueryNotifyPrint(QueryNotify):
Fore.GREEN + f"] {title}" +
Fore.WHITE + f" {message}" +
Fore.GREEN + " on:")
# An empty line between first line and the result(more clear output)
print('\r')
return
def finish(self, message="Results have been uploaded"):
"""Notify Start.
Will print the last line to the standard output.
Keyword Arguments:
self -- This object.
message -- The last phrase.
Return Value:
Nothing.
"""
title = "Finish"
print('\r') # An empty line between last line of main output and last line(more clear output)
print(Style.BRIGHT + Fore.GREEN + "[" +
Fore.YELLOW + "!" +
Fore.GREEN + f"] {title}" +
Fore.GREEN + ": " +
Fore.WHITE + f" {message}" )
# An empty line between first line and the result(more clear output)
return

@ -68,7 +68,7 @@ class SiteInformation():
Return Value:
Nicely formatted string to get information about this object.
"""
return f"{self.name} ({self.url_home})"

Loading…
Cancel
Save