Skip to content

Instantly share code, notes, and snippets.

@tumen102
Created August 16, 2021 21:14
Show Gist options
  • Save tumen102/8c217d915d0e30c3cfbd940d7bf9ddd3 to your computer and use it in GitHub Desktop.
Save tumen102/8c217d915d0e30c3cfbd940d7bf9ddd3 to your computer and use it in GitHub Desktop.
import requests;
import json;
req = requests.get("https://proxylist.geonode.com/api/proxy-list?limit=7000&page=1&sort_by=lastChecked&sort_type=desc&protocols=http");
jsn = json.loads(req.text)["data"];
i = 0;
while i < len(jsn):
print("\033[95m"+jsn[i].get('ip') + ":" + jsn[i].get('port'));
i+=1;
@tumen102
Copy link
Author

this requires the requests library btw which u can install by doing
pip install requests
in a terminal

@tumen102
Copy link
Author

dont use this it suk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment