mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-30 07:40:19 +00:00
Merge pull request #565 from omkarjc27/patch-1
Automatically browse to found sites
This commit is contained in:
commit
33f58419af
1 changed files with 6 additions and 0 deletions
|
@ -17,6 +17,7 @@ import random
|
|||
from argparse import ArgumentParser, RawDescriptionHelpFormatter
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
from time import time
|
||||
import webbrowser
|
||||
|
||||
import requests
|
||||
from colorama import Fore, Style, init
|
||||
|
@ -488,6 +489,9 @@ def main():
|
|||
action="store",
|
||||
help="One or more usernames to check with social networks."
|
||||
)
|
||||
parser.add_argument("--browse", "-b",
|
||||
action="store_true", dest="browse", default=False,
|
||||
help="Browse to all results on default bowser.")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
|
@ -647,6 +651,8 @@ def main():
|
|||
if dictionary.get("exists") == "yes":
|
||||
exists_counter += 1
|
||||
file.write(dictionary["url_user"] + "\n")
|
||||
if args.browse :
|
||||
webbrowser.open(dictionary["url_user"])
|
||||
file.write(f"Total Websites Username Detected On : {exists_counter}")
|
||||
file.close()
|
||||
|
||||
|
|
Loading…
Reference in a new issue