|
|
|
@ -380,10 +380,10 @@ def main():
|
|
|
|
|
action="store_true", dest="rank", default=False,
|
|
|
|
|
help="Present websites ordered by their Alexa.com global rank in popularity.")
|
|
|
|
|
parser.add_argument("--folderoutput", "-fo", dest="folderoutput",
|
|
|
|
|
help="If using multiple usernames, the output of the results will be saved at this folder."
|
|
|
|
|
help="If using multiple usernames, the output of the results will be saved to this folder."
|
|
|
|
|
)
|
|
|
|
|
parser.add_argument("--output", "-o", dest="output",
|
|
|
|
|
help="If using single username, the output of the result will be saved at this file."
|
|
|
|
|
help="If using single username, the output of the result will be saved to this file."
|
|
|
|
|
)
|
|
|
|
|
parser.add_argument("--tor", "-t",
|
|
|
|
|
action="store_true", dest="tor", default=False,
|
|
|
|
@ -464,7 +464,7 @@ def main():
|
|
|
|
|
else:
|
|
|
|
|
raise ValueError
|
|
|
|
|
except ValueError:
|
|
|
|
|
raise Exception("Prameter --check_proxies/-cp must be a positive intiger.")
|
|
|
|
|
raise Exception("Parameter --check_proxies/-cp must be a positive integer.")
|
|
|
|
|
|
|
|
|
|
if args.tor or args.unique_tor:
|
|
|
|
|
print("Using Tor to make requests")
|
|
|
|
@ -505,7 +505,7 @@ def main():
|
|
|
|
|
if site_data_all is None:
|
|
|
|
|
# Check if the file exists otherwise exit.
|
|
|
|
|
if not os.path.exists(data_file_path):
|
|
|
|
|
print("JSON file at doesn't exist.")
|
|
|
|
|
print("JSON file doesn't exist.")
|
|
|
|
|
print(
|
|
|
|
|
"If this is not a file but a website, make sure you have appended http:// or https://.")
|
|
|
|
|
sys.exit(1)
|
|
|
|
|