diff --git a/sherlock_project/sherlock.py b/sherlock_project/sherlock.py index 75b3e3d70..7e03fe9d5 100644 --- a/sherlock_project/sherlock.py +++ b/sherlock_project/sherlock.py @@ -10,10 +10,12 @@ import sys try: - from sherlock_project.__init__ import import_error_test_var # noqa: F401 + from sherlock_project.__init__ import import_error_test_var # noqa: F401 except ImportError: print("Did you run Sherlock with `python3 sherlock/sherlock.py ...`?") - print("This is an outdated method. Please see https://sherlockproject.xyz/installation for up to date instructions.") + print( + "This is an outdated method. Please see https://sherlockproject.xyz/installation for up to date instructions." + ) sys.exit(1) import csv @@ -243,7 +245,7 @@ def sherlock( headers.update(net_info["headers"]) # URL of user on site (if it exists) - url = interpolate_string(net_info["url"], username.replace(' ', '%20')) + url = interpolate_string(net_info["url"], username.replace(" ", "%20")) # Don't make request if username is invalid for the site regex_check = net_info.get("regexCheck") @@ -675,16 +677,6 @@ def main(): help="Include checking of NSFW sites from default list.", ) - # TODO deprecated in favor of --txt, retained for workflow compatibility, to be removed - # in future release - parser.add_argument( - "--no-txt", - action="store_true", - dest="no_txt", - default=False, - help="Disable creation of a txt file - WILL BE DEPRECATED", - ) - parser.add_argument( "--txt", action="store_true",