Small output changes

pull/1281/head
aristotelis gkithkopoulos 3 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 This module contains the main logic to search for usernames at social
networks. networks.
""" """

@ -155,6 +155,33 @@ class QueryNotifyPrint(QueryNotify):
Fore.GREEN + f"] {title}" + Fore.GREEN + f"] {title}" +
Fore.WHITE + f" {message}" + Fore.WHITE + f" {message}" +
Fore.GREEN + " on:") 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 return

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

Loading…
Cancel
Save