List of fresh, working proxies (HTTP, HTTPS, SOCKS4 & SOCKS5) servers.
Updated at: Sun Nov 10 19:25:28 UTC 2024
Fresh Proxy Lists provides an up-to-date list of proxies across multiple formats and types. This repository is perfect for developers and security enthusiasts looking for reliable proxy lists.
- Regular Updates: Updated automatically every day to ensure fresh and working proxies.
- Multiple Formats: Available in TXT, CSV, PHP, JSON, and XML.
- Various Types: Includes HTTP, HTTPS, SOCKS4, and SOCKS5 proxies.
Follow the instructions below to download the proxy lists.
curl -s -L https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/http.txt -o http.txt
curl -s -L https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/https.txt -o https.txt
curl -s -L https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/socks4.txt -o socks4.txt
curl -s -L https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/socks5.txt -o socks5.txt
Supported formats: TXT | CSV | PHP | JSON | XML
curl -s -L https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/proxylist.txt -o proxylist.txt
curl -s -L https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/proxylist.csv -o proxylist.csv
curl -s -L https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/proxylist.phps -o proxylist.phps
curl -s -L https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/proxylist.json -o proxylist.json
curl -s -L https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/proxylist.xml -o proxylist.xml
Below are some examples of how you can use these proxy lists in different programming languages.
import requests
with open('http.txt') as file:
proxies = file.readlines()
proxy = proxies[0].strip()
response = requests.get('http://example.com', proxies={'http': proxy})
print(response.text)
const axios = require('axios');
const fs = require('fs');
fs.readFile('http.txt', 'utf8', (err, data) => {
if (err) throw err;
const proxies = data.split('\n');
const proxy = proxies[0];
axios.get('http://example.com', {
proxy: {
host: proxy.split(':')[0],
port: proxy.split(':')[1]
}
})
.then(response => console.log(response.data))
.catch(error => console.error(error));
});
proxy=$(head -n 1 http.txt)
curl -x $proxy http://example.com
<?php
$proxies = file('http.txt', FILE_IGNORE_NEW_LINES);
$proxy = $proxies[0];
$context = stream_context_create([
'http' => [
'proxy' => 'tcp://' . $proxy,
'request_fulluri' => true,
],
]);
$response = file_get_contents('http://example.com', false, $context);
echo $response;
?>
require 'net/http'
proxies = File.readlines('http.txt')
proxy = proxies[0].strip.split(':')
uri = URI('http://example.com')
Net::HTTP.start(uri.host, uri.port, proxy[0], proxy[1].to_i) do |http|
request = Net::HTTP::Get.new uri
response = http.request request
puts response.body
end
import java.io.*;
import java.net.*;
public class ProxyExample {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new FileReader("http.txt"));
String proxyLine = reader.readLine();
reader.close();
String[] proxyParts = proxyLine.split(":");
String proxyHost = proxyParts[0];
int proxyPort = Integer.parseInt(proxyParts[1]);
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, proxyPort));
URL url = new URL("http://example.com");
HttpURLConnection connection = (HttpURLConnection) url.openConnection(proxy);
BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String inputLine;
StringBuilder content = new StringBuilder();
while ((inputLine = in.readLine()) != null) {
content.append(inputLine);
}
in.close();
System.out.println(content.toString());
}
}
We welcome contributions from the community! If you have any suggestions, bug reports, or pull requests, please feel free to submit them.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
These listings are provided for informational purposes only. Please use them for viewing purposes only. I do not encourage or support anything illegal or unlawful.