Specify the encoding to be UTF-8 for the csv file. The Rajče.net site was causing this to fail.

pull/101/head
Christopher K. Hoadley 6 years ago
parent 81d15482f7
commit 4596f7121e

@ -359,7 +359,7 @@ def main():
results = sherlock(username, verbose=args.verbose, tor=args.tor, unique_tor=args.unique_tor)
if args.csv == True:
with open(username + ".csv", "w", newline='') as csv_report:
with open(username + ".csv", "w", newline='', encoding="utf-8") as csv_report:
writer = csv.writer(csv_report)
writer.writerow(['username',
'name',

Loading…
Cancel
Save