diff --git a/main.py b/main.py index c31a595..a2a3c2d 100644 --- a/main.py +++ b/main.py @@ -19,15 +19,18 @@ def initialize(): def checksites(sitepath=None): - print(f"{tools.heading('Checking Sitedata')}\n{tools.spacer}") + print(f"{tools.heading('Checking Site(s)')}\n{tools.spacer}") sitedic = {} + + # Find sites directory if sitepath: sitedir = sitepath else: rootdir = os.path.dirname(os.path.abspath(__file__)) sitedir = rootdir + r"\sites" + # Parse all sitefiles into objects for sitefile in glob.glob(sitedir + r"\*.json"): asite = site.Site(sitefile) @@ -54,7 +57,9 @@ def createproxys(): print(f"> {Fore.MAGENTA}{one.name:10s}{Style.RESET_ALL} |" f" {tools.keyword('PROXYIP')}({one.ip}) {tools.keyword('WORKING')}({one.isworking})") + # We can test our proxy using this site: # one.testurl("http://www.whatismyproxy.com/") + proxydic[one.name] = one print(tools.spacer)