is a module now :)

master
Felix Pankratz 4 years ago
parent b84918933b
commit eb8dd6db76

@ -59,7 +59,7 @@ def get_proxies():
print('{}/{} new proxies ready.'.format(len(working_list), start_length)) print('{}/{} new proxies ready.'.format(len(working_list), start_length))
return working_list return working_list
def main(): def user_loop():
proxies = [] proxies = []
while True: while True:
proxies += get_proxies() proxies += get_proxies()
@ -68,6 +68,10 @@ def main():
if choice == 'c': if choice == 'c':
break break
print(proxies) print(proxies)
return proxies
def main():
user_loop()
if __name__ == '__main__': if __name__ == '__main__':
main() main()

Loading…
Cancel
Save