Top Related Projects
Lists of HTTP, SOCKS4, SOCKS5 proxies with geolocation info. Updated every hour.
Get PROXY List that gets updated everyday
Quick Overview
The clarketm/proxy-list repository is a curated collection of free, public SOCKS4, SOCKS5, and HTTP(S) proxy servers. It provides regularly updated lists of proxy servers, along with their IP addresses, ports, and protocols, which can be used for various networking and web scraping tasks.
Pros
- Regularly updated list of proxy servers
- Includes multiple proxy protocols (SOCKS4, SOCKS5, HTTP(S))
- Free and open-source
- Provides both raw and formatted proxy lists
Cons
- Proxy servers may have varying reliability and uptime
- No guarantee of proxy server performance or anonymity
- Limited information about individual proxy servers (e.g., location, speed)
- Potential for misuse in malicious activities
Getting Started
To use the proxy list:
- Visit the repository: https://github.com/clarketm/proxy-list
- Navigate to the
proxy-list.txt
file - Copy the desired proxy server information (IP:Port)
- Implement the proxy in your application or tool of choice
Example usage in Python with the requests
library:
import requests
proxies = {
'http': 'http://IP:Port',
'https': 'https://IP:Port'
}
response = requests.get('https://example.com', proxies=proxies)
print(response.text)
Replace IP:Port
with the actual proxy server information from the list.
Note: This is not a code library, so there are no specific code examples or installation instructions. The repository simply provides a list of proxy servers that can be used with various tools and programming languages that support proxy connections.
Competitor Comparisons
Lists of HTTP, SOCKS4, SOCKS5 proxies with geolocation info. Updated every hour.
Pros of proxy-list (monosans)
- More frequent updates (hourly) compared to daily updates
- Larger number of proxies available (typically over 1000)
- Includes additional proxy types (SOCKS4, SOCKS5) beyond HTTP(S)
Cons of proxy-list (monosans)
- Less detailed information about each proxy (e.g., no country or anonymity level)
- No built-in proxy checker or filtering options
- Lacks additional features like API access or integration with other tools
Code Comparison
proxy-list (clarketm):
def is_valid_proxy(proxy):
return (
proxy
and re.match(
r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d{1,5}$",
proxy.strip(),
)
)
proxy-list (monosans):
def is_valid(proxy: str) -> bool:
try:
ip, port = proxy.split(":")
return ip_address(ip) and 1 <= int(port) <= 65535
except ValueError:
return False
Both repositories provide lists of proxy servers, but they differ in their approach to validation and presentation. The clarketm version offers more detailed information and features, while the monosans version focuses on frequent updates and a larger proxy pool. The code snippets show different methods for validating proxy addresses, with monosans using a more robust approach by leveraging the ip_address
function.
Get PROXY List that gets updated everyday
Pros of PROXY-List
- Larger collection of proxies, updated more frequently
- Includes additional tools for proxy checking and management
- More active community and frequent contributions
Cons of PROXY-List
- Less organized structure compared to proxy-list
- May include more unreliable or short-lived proxies
- Lacks some of the filtering options present in proxy-list
Code Comparison
PROXY-List:
import requests
from bs4 import BeautifulSoup
def scrape_proxies():
url = 'https://free-proxy-list.net/'
response = requests.get(url)
soup = BeautifulSoup(response.text, 'html.parser')
proxy-list:
import requests
import json
def get_proxies():
url = 'https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list-raw.txt'
response = requests.get(url)
return response.text.split('\n')
Both repositories provide lists of proxy servers, but PROXY-List offers a more extensive collection with additional tools. However, proxy-list provides a more curated and organized list. The code snippets demonstrate different approaches to obtaining proxy lists, with PROXY-List using web scraping and proxy-list fetching from a pre-compiled list.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
proxy-list
A list of free, public, forward proxy servers. UPDATED DAILY!
Download
# Download and save to local file `proxt-list.txt` with format `IP:PORT`
curl -sSf "https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list-raw.txt" > proxy-list.txt
Format
######################
### proxy-list.txt ###
######################
IP [1]
|
| Port [2]
| |
| | Country [3]
| | |
| | | Anonymity [4]
| | | |
| | | | Type [5]
| | | | |_ _ _ _
| | | |_ _ _ _ _ | Google passed [6]
| | |_ _ _ _ _ | | |
| |_ _ _ _ _ | | | |
| | | | | |
200.2.125.90:8080 AR-N-S! +
1. IP address
2. Port number
3. Country code
4. Anonymity
N = No anonymity
A = Anonymity
H = High anonymity
5. Type
= HTTP
S = HTTP/HTTPS
! = incoming IP different from outgoing IP
6. Google passed
+ = Yes
â = No
#############################
### proxy-list-status.txt ###
#############################
IP [1]
|
| Status [2]
| |_ _ _ _ _
| |
200.2.125.90: success
1. IP address
2. Status
success = low latency (0-9 seconds)
failure = high latency (10+ seconds)
API
PubProxy provides a free, robust API to narrow down the proxy to your desired specification.
#######################################################################
# PARAMETER VALUES DESCRIPTION #
#######################################################################
# FORMAT | json, txt | Output format
# LEVEL | anonymous, elite | Anonymity level
# TYPE | http, socks4, socks5 | Proxy protocol
# LAST_CHECK | 1-1000 | Last check time (in minutes)
# LIMIT | 1-20 | Proxy results count
# COUNTRY | US,CA,... | Country of the proxy
# NOT_COUNTRY | MX,CA,... | Avoid proxy country
# PORT | `Number` | Specify port number
# GOOGLE | `Boolean` | Google passed proxies
# HTTPS | `Boolean` | Supports HTTPS request
# GET | `Boolean` | Supports GET request
# POST | `Boolean` | Supports POST request
# USER_AGENT | `Boolean` | Supports USER_AGENT request
# COOKIES | `Boolean` | Supports COOKIES request
# REFERER | `Boolean` | Supports REFERER request
#######################################################################
# EXAMPLES #
#######################################################################
#######################################################################
# Retrieve one(1) socks5 proxy. #
#######################################################################
curl "http://pubproxy.com/api/proxy?limit=1&format=txt&type=socks5"
> 110.73.11.181:8123
#######################################################################
# Retrieve two(2) http proxies from the US that support https. #
#######################################################################
curl "http://pubproxy.com/api/proxy?limit=2&format=txt&http=true&country=US&type=http"
> 195.136.43.176:63909
> 107.170.221.216:8080
References
:star: Credits
Proxy server data courtesy of:
Top Related Projects
Lists of HTTP, SOCKS4, SOCKS5 proxies with geolocation info. Updated every hour.
Get PROXY List that gets updated everyday
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot