12 lines
368 B
Python
12 lines
368 B
Python
import requests
|
|
import json
|
|
|
|
r = requests.get('https://raw.githubusercontent.com/fate0/proxylist/master/proxy.list')
|
|
|
|
formated_proxies = []
|
|
for line in r.text.splitlines():
|
|
parsed = json.loads(line)
|
|
|
|
if bool(parsed['anonymity'] == 'high_anonymous'):
|
|
proxy_string = f'{parsed["type"]}://{parsed["host"]}:{parsed["port"]}'
|
|
print(proxy_string) |