diff --git a/KC-Scraper.py b/KC-Scraper.py index 8734d26..f6ac06d 100644 --- a/KC-Scraper.py +++ b/KC-Scraper.py @@ -32,15 +32,49 @@ def main(): print(Colorate.Diagonal(Colors.DynamicMIX((Colors.dark_gray, Colors.StaticMIX((Colors.purple, Colors.blue)))), Center.XCenter(logo))) print("\n"*3) - clearing = input(f"{white}[{color}^{white}] {color}Remove not connectable site [y/n] {white}>> {color}") + premades = input(f"{white}[{color}^{white}] {color}Use premades [y/n] {white}>> {color}") - if clearing != "y" and clearing != "ye" and clearing != "yes" and clearing != "n" and clearing != "no": + if premades == "yes" or premades == "y": + os.system("cls") + print(Colorate.Diagonal(Colors.DynamicMIX((Colors.dark_gray, Colors.StaticMIX((Colors.purple, Colors.blue)))), Center.XCenter(logo))) + print(Colorate.Diagonal(Colors.DynamicMIX((Colors.dark_gray, Colors.StaticMIX((Colors.purple, Colors.blue)))), Center.XCenter("\n[1] HTTP/S\t[2] SOCKS4\t[3] SOCKS5"))) + + premades = input(f"\n\n{white}[{color}^{white}] {white}>> {color}") + + if premades == "1": + config = "premades/http.txt" + elif premades == "2": + config = "premades/socks4.txt" + elif premades == "3": + config = "premades/socks5.txt" + else: + print(f"{white}[{color}!{white}] {color}No option was choosen returning to home..") + time.sleep(3) + main() + exit() + elif premades == "no" or premades == "n": + config = "sites.txt" + + os.system("cls") + print(Colorate.Diagonal(Colors.DynamicMIX((Colors.dark_gray, Colors.StaticMIX((Colors.purple, Colors.blue)))), Center.XCenter(logo))) + + clearing = input(f"\n\n\n{white}[{color}^{white}] {color}Remove not connectable site [y/n] {white}>> {color}") + + if clearing != "y" and clearing != "ye" and clearing != "yes" and clearing != "n" and clearing != "no": + print(f"{white}[{color}!{white}] {color}No option was choosen returning to home..") + time.sleep(3) + main() + exit() + elif clearing == "y" or clearing == "ye" or clearing == "yes": + clearing = True + + else: print(f"{white}[{color}!{white}] {color}No option was choosen returning to home..") time.sleep(3) main() exit() - elif clearing == "y" or clearing == "ye" or clearing == "yes": - clearing = True + + threads = input(f"{white}[{color}^{white}] {color}Threads {white}>> {color}") print() @@ -54,7 +88,7 @@ def main(): start = time.time() - with open("sites.txt") as sites: + with open(config) as sites: sitelist = sites.readlines() diff --git a/premades/http.txt b/premades/http.txt new file mode 100644 index 0000000..cc96b76 --- /dev/null +++ b/premades/http.txt @@ -0,0 +1,8 @@ +https://api.proxyscrape.com/v2/?request=getproxies&protocol=http&timeout=10000&country=all&ssl=all&anonymity=all +https://www.juproxy.com/free_api +http://pubproxy.com/api/proxy +https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/http.txt +https://raw.githubusercontent.com/monosans/proxy-list/main/proxies/http.txt +https://raw.githubusercontent.com/ShiftyTR/Proxy-List/master/http.txt +https://raw.githubusercontent.com/jetkai/proxy-list/main/online-proxies/txt/proxies-http.txt +https://openproxy.space/list/http \ No newline at end of file diff --git a/premades/socks4.txt b/premades/socks4.txt new file mode 100644 index 0000000..b31d885 --- /dev/null +++ b/premades/socks4.txt @@ -0,0 +1,5 @@ +https://openproxy.space/list/socks4 +https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/socks4.txt +https://raw.githubusercontent.com/monosans/proxy-list/main/proxies/socks4.txt +https://raw.githubusercontent.com/jetkai/proxy-list/main/online-proxies/txt/proxies-socks4.txt +https://www.socks-proxy.net/ \ No newline at end of file diff --git a/premades/socks5.txt b/premades/socks5.txt new file mode 100644 index 0000000..7c97033 --- /dev/null +++ b/premades/socks5.txt @@ -0,0 +1,6 @@ +https://openproxy.space/list/socks5 +https://raw.githubusercontent.com/ShiftyTR/Proxy-List/master/socks5.txt +https://raw.githubusercontent.com/monosans/proxy-list/main/proxies/socks5.txt +https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/socks5.txt +https://raw.githubusercontent.com/hookzof/socks5_list/master/proxy.txt +https://raw.githubusercontent.com/jetkai/proxy-list/main/online-proxies/txt/proxies-socks4.txt \ No newline at end of file