diff --git a/files/http.json b/files/http.json index feffd48a9..0ff1cf553 100644 --- a/files/http.json +++ b/files/http.json @@ -1,69 +1,3 @@ { - "proxies": [ - "123.200.14.194:8080", - "185.73.203.176:443", - "185.233.247.186:8080", - "45.129.183.14:3128", - "210.201.86.72:8080", - "121.101.134.214:1111", - "87.126.65.11:1388", - "187.190.59.144:999", - "103.53.185.8:8088", - "179.60.235.249:8094", - "203.150.128.88:8080", - "190.153.237.2:37453", - "163.172.181.211:7203", - "188.68.176.2:8080", - "45.122.228.10:8899", - "151.22.181.241:8080", - "103.221.254.102:48146", - "51.145.176.250:8080", - "198.99.81.198:8080", - "101.47.4.29:6066", - "117.250.3.58:8080", - "181.78.11.217:999", - "103.127.220.70:8181", - "200.95.184.58:999", - "103.203.174.182:84", - "45.160.15.129:999", - "103.169.254.39:8090", - "136.243.82.121:1083", - "160.248.2.125:3128", - "5.160.101.235:8080", - "202.173.217.4:8080", - "58.147.189.222:3128", - "18.135.133.116:1080", - "95.110.227.85:3128", - "168.138.211.5:8080", - "20.75.136.244:9000", - "201.54.176.128:8080", - "160.72.98.165:3128", - "103.221.55.101:8080", - "154.236.179.226:1981", - "77.238.79.111:8080", - "94.124.16.218:8901", - "94.131.107.45:3128", - "190.94.212.125:999", - "45.250.215.8:8080", - "103.132.52.210:3128", - "148.72.165.7:30127", - "190.54.100.74:8080", - "103.169.254.185:2068", - "8.242.85.8:999", - "103.162.62.111:8181", - "185.217.136.67:1337", - "201.91.82.155:3128", - "185.191.236.162:3128", - "35.185.196.38:3128", - "41.65.0.204:1976", - "190.94.213.28:999", - "95.216.57.120:8292", - "170.244.90.130:999", - "118.163.120.181:58837", - "154.73.28.49:8080", - "178.48.68.61:18080", - "52.13.55.86:3128", - "119.196.143.79:1024", - "45.181.122.201:999" - ] + "proxies": [] } \ No newline at end of file diff --git a/files/metadata.json b/files/metadata.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/files/metadata.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/files/proxies.json b/files/proxies.json index bbb6ff75d..95299b688 100644 --- a/files/proxies.json +++ b/files/proxies.json @@ -1,157 +1,5 @@ { - "http": [ - "123.200.14.194:8080", - "185.73.203.176:443", - "185.233.247.186:8080", - "45.129.183.14:3128", - "210.201.86.72:8080", - "121.101.134.214:1111", - "87.126.65.11:1388", - "187.190.59.144:999", - "103.53.185.8:8088", - "179.60.235.249:8094", - "203.150.128.88:8080", - "190.153.237.2:37453", - "163.172.181.211:7203", - "188.68.176.2:8080", - "45.122.228.10:8899", - "151.22.181.241:8080", - "103.221.254.102:48146", - "51.145.176.250:8080", - "198.99.81.198:8080", - "101.47.4.29:6066", - "117.250.3.58:8080", - "181.78.11.217:999", - "103.127.220.70:8181", - "200.95.184.58:999", - "103.203.174.182:84", - "45.160.15.129:999", - "103.169.254.39:8090", - "136.243.82.121:1083", - "160.248.2.125:3128", - "5.160.101.235:8080", - "202.173.217.4:8080", - "58.147.189.222:3128", - "18.135.133.116:1080", - "95.110.227.85:3128", - "168.138.211.5:8080", - "20.75.136.244:9000", - "201.54.176.128:8080", - "160.72.98.165:3128", - "103.221.55.101:8080", - "154.236.179.226:1981", - "77.238.79.111:8080", - "94.124.16.218:8901", - "94.131.107.45:3128", - "190.94.212.125:999", - "45.250.215.8:8080", - "103.132.52.210:3128", - "148.72.165.7:30127", - "190.54.100.74:8080", - "103.169.254.185:2068", - "8.242.85.8:999", - "103.162.62.111:8181", - "185.217.136.67:1337", - "201.91.82.155:3128", - "185.191.236.162:3128", - "35.185.196.38:3128", - "41.65.0.204:1976", - "190.94.213.28:999", - "95.216.57.120:8292", - "170.244.90.130:999", - "118.163.120.181:58837", - "154.73.28.49:8080", - "178.48.68.61:18080", - "52.13.55.86:3128", - "119.196.143.79:1024", - "45.181.122.201:999" - ], - "socks4": [ - "144.126.215.152:39053", - "51.75.126.150:34925", - "37.187.73.7:51939", - "27.72.73.143:4153", - "213.145.137.102:37447", - "5.1.104.67:33041", - "190.109.72.10:33633", - "212.50.19.150:4153", - "51.38.63.124:27294", - "202.40.186.26:1080", - "162.55.87.48:5566", - "117.250.3.58:8080", - "162.240.105.148:46389", - "132.148.167.243:28439", - "51.89.173.40:14725", - "81.16.248.246:25566", - "95.71.124.187:5678", - "109.120.218.158:10801", - "203.124.53.122:5678", - "1.15.62.12:5678", - "103.141.148.62:5678", - "162.214.121.11:14027", - "85.239.121.172:4145", - "194.44.74.118:1080", - "110.78.153.133:4145", - "46.100.10.3:4153", - "146.59.18.246:27082", - "51.89.173.40:51748", - "50.63.13.3:22390", - "146.59.18.246:58993", - "181.129.74.58:30431", - "85.117.63.199:4145", - "38.50.130.93:5678", - "185.226.113.180:38030", - "198.12.252.88:38833", - "31.170.22.127:1080", - "162.241.73.195:62935", - "45.61.188.134:44499", - "173.212.237.43:4316", - "154.12.253.232:43133", - "80.51.7.66:4145", - "185.136.150.252:4145", - "109.86.190.92:1080", - "203.205.55.161:5678", - "188.95.20.138:5678", - "130.51.180.63:37014", - "78.90.252.7:4153", - "50.63.12.33:33446", - "23.19.244.109:1080", - "104.238.111.107:8968", - "161.97.165.57:6368" - ], - "socks5": [ - "50.63.12.101:30552", - "45.79.189.110:47498", - "162.240.10.35:51168", - "152.228.134.212:62022", - "178.20.45.29:80", - "164.92.86.113:60312", - "162.240.75.108:48613", - "146.59.18.246:11976", - "146.59.18.246:58993", - "51.161.131.84:17325", - "65.49.82.7:40803", - "188.165.252.198:38555", - "103.152.232.51:8199", - "185.82.218.52:1080", - "117.250.3.58:8080", - "51.89.173.40:14725", - "51.38.64.38:8211", - "198.12.252.88:38833", - "45.61.188.134:44499", - "51.161.131.84:50194", - "116.105.34.187:1080", - "221.134.152.75:7302", - "50.63.13.3:22390", - "5.59.141.94:1080", - "147.182.194.76:29854", - "82.165.198.169:45928", - "202.180.78.6:7497", - "87.106.114.124:6005", - "110.232.67.44:59864", - "143.198.229.56:14319", - "31.170.22.127:1080", - "146.59.18.246:61407", - "51.75.126.150:9895" - ] + "http": [], + "socks4": [], + "socks5": [] } \ No newline at end of file diff --git a/files/random.json b/files/random.json index 2e11f77c4..0ff1cf553 100644 --- a/files/random.json +++ b/files/random.json @@ -1,116 +1,3 @@ { - "proxies": [ - "http://148.72.165.7:30127", - "http://201.91.82.155:3128", - "socks5://117.250.3.58:8080", - "http://190.94.213.28:999", - "socks4://78.90.252.7:4153", - "http://178.48.68.61:18080", - "socks5://162.240.10.35:51168", - "socks5://178.20.45.29:80", - "socks4://1.15.62.12:5678", - "http://202.173.217.4:8080", - "http://45.122.228.10:8899", - "http://160.72.98.165:3128", - "http://87.126.65.11:1388", - "socks4://162.240.105.148:46389", - "socks4://203.205.55.161:5678", - "socks4://146.59.18.246:27082", - "http://18.135.133.116:1080", - "socks5://162.240.75.108:48613", - "http://45.160.15.129:999", - "socks4://162.214.121.11:14027", - "http://200.95.184.58:999", - "http://136.243.82.121:1083", - "http://95.110.227.85:3128", - "http://77.238.79.111:8080", - "socks5://143.198.229.56:14319", - "socks4://45.61.188.134:44499", - "http://210.201.86.72:8080", - "socks4://103.141.148.62:5678", - "socks4://51.38.63.124:27294", - "socks4://198.12.252.88:38833", - "socks4://46.100.10.3:4153", - "http://185.73.203.176:443", - "socks4://51.89.173.40:51748", - "socks5://5.59.141.94:1080", - "socks4://190.109.72.10:33633", - "http://181.78.11.217:999", - "http://103.162.62.111:8181", - "socks5://65.49.82.7:40803", - "http://187.190.59.144:999", - "socks5://147.182.194.76:29854", - "http://185.191.236.162:3128", - "http://151.22.181.241:8080", - "socks5://50.63.13.3:22390", - "socks4://110.78.153.133:4145", - "socks4://173.212.237.43:4316", - "socks5://164.92.86.113:60312", - "socks4://109.120.218.158:10801", - "http://103.127.220.70:8181", - "http://123.200.14.194:8080", - "socks5://116.105.34.187:1080", - "http://185.233.247.186:8080", - "socks4://50.63.12.33:33446", - "http://103.221.55.101:8080", - "http://103.203.174.182:84", - "http://103.53.185.8:8088", - "socks5://51.75.126.150:9895", - "http://168.138.211.5:8080", - "http://35.185.196.38:3128", - "socks5://45.61.188.134:44499", - "http://160.248.2.125:3128", - "socks4://162.55.87.48:5566", - "socks4://95.71.124.187:5678", - "http://103.132.52.210:3128", - "socks4://104.238.111.107:8968", - "socks5://146.59.18.246:61407", - "socks4://212.50.19.150:4153", - "http://117.250.3.58:8080", - "http://5.160.101.235:8080", - "http://103.169.254.185:2068", - "http://8.242.85.8:999", - "socks5://152.228.134.212:62022", - "socks4://38.50.130.93:5678", - "socks5://51.161.131.84:50194", - "socks5://45.79.189.110:47498", - "http://41.65.0.204:1976", - "socks4://85.117.63.199:4145", - "socks4://188.95.20.138:5678", - "http://95.216.57.120:8292", - "http://94.124.16.218:8901", - "http://118.163.120.181:58837", - "socks5://188.165.252.198:38555", - "socks4://81.16.248.246:25566", - "http://119.196.143.79:1024", - "socks5://51.89.173.40:14725", - "http://203.150.128.88:8080", - "socks4://185.226.113.180:38030", - "socks4://202.40.186.26:1080", - "http://51.145.176.250:8080", - "socks5://103.152.232.51:8199", - "socks4://27.72.73.143:4153", - "socks4://181.129.74.58:30431", - "socks4://23.19.244.109:1080", - "socks4://5.1.104.67:33041", - "socks5://146.59.18.246:58993", - "socks4://213.145.137.102:37447", - "http://190.94.212.125:999", - "http://188.68.176.2:8080", - "socks4://109.86.190.92:1080", - "socks4://132.148.167.243:28439", - "socks5://82.165.198.169:45928", - "socks4://117.250.3.58:8080", - "socks4://203.124.53.122:5678", - "socks5://50.63.12.101:30552", - "http://52.13.55.86:3128", - "socks4://37.187.73.7:51939", - "http://121.101.134.214:1111", - "socks5://185.82.218.52:1080", - "socks5://31.170.22.127:1080", - "socks4://146.59.18.246:58993", - "http://154.236.179.226:1981", - "http://45.250.215.8:8080", - "http://45.129.183.14:3128" - ] + "proxies": [] } \ No newline at end of file diff --git a/files/socks4.json b/files/socks4.json index fc4a84351..0ff1cf553 100644 --- a/files/socks4.json +++ b/files/socks4.json @@ -1,55 +1,3 @@ { - "proxies": [ - "144.126.215.152:39053", - "51.75.126.150:34925", - "37.187.73.7:51939", - "27.72.73.143:4153", - "213.145.137.102:37447", - "5.1.104.67:33041", - "190.109.72.10:33633", - "212.50.19.150:4153", - "51.38.63.124:27294", - "202.40.186.26:1080", - "162.55.87.48:5566", - "117.250.3.58:8080", - "162.240.105.148:46389", - "132.148.167.243:28439", - "51.89.173.40:14725", - "81.16.248.246:25566", - "95.71.124.187:5678", - "109.120.218.158:10801", - "203.124.53.122:5678", - "1.15.62.12:5678", - "103.141.148.62:5678", - "162.214.121.11:14027", - "85.239.121.172:4145", - "194.44.74.118:1080", - "110.78.153.133:4145", - "46.100.10.3:4153", - "146.59.18.246:27082", - "51.89.173.40:51748", - "50.63.13.3:22390", - "146.59.18.246:58993", - "181.129.74.58:30431", - "85.117.63.199:4145", - "38.50.130.93:5678", - "185.226.113.180:38030", - "198.12.252.88:38833", - "31.170.22.127:1080", - "162.241.73.195:62935", - "45.61.188.134:44499", - "173.212.237.43:4316", - "154.12.253.232:43133", - "80.51.7.66:4145", - "185.136.150.252:4145", - "109.86.190.92:1080", - "203.205.55.161:5678", - "188.95.20.138:5678", - "130.51.180.63:37014", - "78.90.252.7:4153", - "50.63.12.33:33446", - "23.19.244.109:1080", - "104.238.111.107:8968", - "161.97.165.57:6368" - ] + "proxies": [] } \ No newline at end of file diff --git a/files/socks5.json b/files/socks5.json index f77306b16..0ff1cf553 100644 --- a/files/socks5.json +++ b/files/socks5.json @@ -1,37 +1,3 @@ { - "proxies": [ - "50.63.12.101:30552", - "45.79.189.110:47498", - "162.240.10.35:51168", - "152.228.134.212:62022", - "178.20.45.29:80", - "164.92.86.113:60312", - "162.240.75.108:48613", - "146.59.18.246:11976", - "146.59.18.246:58993", - "51.161.131.84:17325", - "65.49.82.7:40803", - "188.165.252.198:38555", - "103.152.232.51:8199", - "185.82.218.52:1080", - "117.250.3.58:8080", - "51.89.173.40:14725", - "51.38.64.38:8211", - "198.12.252.88:38833", - "45.61.188.134:44499", - "51.161.131.84:50194", - "116.105.34.187:1080", - "221.134.152.75:7302", - "50.63.13.3:22390", - "5.59.141.94:1080", - "147.182.194.76:29854", - "82.165.198.169:45928", - "202.180.78.6:7497", - "87.106.114.124:6005", - "110.232.67.44:59864", - "143.198.229.56:14319", - "31.170.22.127:1080", - "146.59.18.246:61407", - "51.75.126.150:9895" - ] + "proxies": [] } \ No newline at end of file diff --git a/src/sync_run.py b/src/sync_run.py index e3af13b88..d2ee26698 100644 --- a/src/sync_run.py +++ b/src/sync_run.py @@ -56,11 +56,11 @@ def get_proxies() -> dict[str, list[str]]: ).text.split("\n") logging.info(f"Total http proxies {len(http_proxies)}") socks4_proxies = fetch( - "https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/socks5.txt" + "https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/socks4.txt" ).text.split("\n") logging.info(f"Total socks4 proxies {len(socks4_proxies)}") socks5_proxies = fetch( - "https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/http.txt" + "https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/socks5.txt" ).text.split("\n") logging.info(f"Total socks5 proxies {len(socks5_proxies)}") logging.warning( @@ -137,10 +137,10 @@ def select_random_proxies(): # combined write(path_to_proxies["proxies"], working_proxy_cache) - select_random_proxies() - write(path_to_proxies["metadata"], generate_metadata()) + select_random_proxies() + def main(): for proxy_type, proxies in get_proxies().items():