Fixed grammar, typos, comments

pull/368/head
Shahlin 5 years ago
parent ddb4b132ce
commit 68e92783b9

@ -83,10 +83,10 @@ optional arguments:
rank in popularity. rank in popularity.
--folderoutput FOLDEROUTPUT, -fo FOLDEROUTPUT --folderoutput FOLDEROUTPUT, -fo FOLDEROUTPUT
If using multiple usernames, the output of the results If using multiple usernames, the output of the results
will be saved at this folder. will be saved to this folder.
--output OUTPUT, -o OUTPUT --output OUTPUT, -o OUTPUT
If using single username, the output of the result If using single username, the output of the result
will be saved at this file. will be saved to this file.
--tor, -t Make requests over Tor; increases runtime; requires --tor, -t Make requests over Tor; increases runtime; requires
Tor to be installed and in system path. Tor to be installed and in system path.
--unique-tor, -u Make requests over Tor with new Tor circuit after each --unique-tor, -u Make requests over Tor with new Tor circuit after each

@ -380,10 +380,10 @@ def main():
action="store_true", dest="rank", default=False, action="store_true", dest="rank", default=False,
help="Present websites ordered by their Alexa.com global rank in popularity.") help="Present websites ordered by their Alexa.com global rank in popularity.")
parser.add_argument("--folderoutput", "-fo", dest="folderoutput", 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", 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", parser.add_argument("--tor", "-t",
action="store_true", dest="tor", default=False, action="store_true", dest="tor", default=False,
@ -464,7 +464,7 @@ def main():
else: else:
raise ValueError raise ValueError
except 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: if args.tor or args.unique_tor:
print("Using Tor to make requests") print("Using Tor to make requests")
@ -505,7 +505,7 @@ def main():
if site_data_all is None: if site_data_all is None:
# Check if the file exists otherwise exit. # Check if the file exists otherwise exit.
if not os.path.exists(data_file_path): if not os.path.exists(data_file_path):
print("JSON file at doesn't exist.") print("JSON file doesn't exist.")
print( print(
"If this is not a file but a website, make sure you have appended http:// or https://.") "If this is not a file but a website, make sure you have appended http:// or https://.")
sys.exit(1) sys.exit(1)

Loading…
Cancel
Save