proxygenerator1/ProxyGenerator

GitHub: proxygenerator1/ProxyGenerator

ProxyGenerator 是一个自动更新和深度验证的免费代理列表项目,为用户提供可靠、分类的代理资源以满足多样需求。

Stars: 39 | Forks: 0

# 🚀 ProxyGenerator — 免费代理列表(HTTP, HTTPS, SOCKS4, SOCKS5) ![代理统计](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/6841a56db1060041.png) ## 📌 简介 本仓库提供**定期更新、自动检查的高质量代理列表**。与标准爬虫不同,我们的系统会对每个代理进行深度验证,以确保其可靠性、速度和匿名性。 ## 📥 下载代理 | 协议 | 🛡️ 最稳定(精英) | ⚖️ 稳定(通用) | ⚠️ 不稳定(活跃) | | :--- | :--- | :--- | :--- | | **HTTP** | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/MostStable/http.txt) | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Stable/http.txt) | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Unstable/http.txt) | | **HTTPS** | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/MostStable/https.txt) | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Stable/https.txt) | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Unstable/https.txt) | | **SOCKS4** | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/MostStable/socks4.txt) | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Stable/socks4.txt) | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Unstable/socks4.txt) | | **SOCKS5** | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/MostStable/socks5.txt) | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Stable/socks5.txt) | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Unstable/socks5.txt) | | **ALL** | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/MostStable/ALL.txt) | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Stable/ALL.txt) | [下载](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Unstable/ALL.txt) | ### 🔗 快速链接 * ✈️ **Telegram 可用:** [telegramProxys.txt](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/telegramProxys.txt) (经 Telegram 验证的 SOCKS5 代理) * 💾 **完整数据库(JSON):** [all.json](https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/ALL/all.json) (包含元数据:国家、Ping、延迟、在线时长) ## 🛠️ 工作原理(逻辑说明) 我们不仅仅是“ping”服务器。每个代理在最终列表中占据一席之前,都要经过约 30 分钟的**一长串独立测试**: 1. **连接性测试:** 对 Google、YouTube 等重量级网站发送真实请求,模拟真实用户。 2. **安全检查:** 不支持 SSL/TLS 加密的代理将被丢弃或降级。 3. **压力测试:** 进行多轮带冷却间隔的重新检查。只有最快、最稳定的代理才能生存下来。
🔒 修复 SSL / 主机名不匹配错误(点击展开)
如果你遇到 `SSL: WRONG_VERSION_NUMBER`、`CERTIFICATE_VERIFY_FAILED` 或 `Hostname mismatch` 错误,这在使用共享证书(CDN/Cloudflare)的公共 HTTPS 代理中是**正常**的。 要成功使用这些代理,你通常需要在你的软件中**为代理连接禁用严格的 SSL 验证**。 ### Python 代码示例 **1. Requests(同步)** ``` import requests import urllib3 urllib3.disable_warnings() # 重要:使用 'https' 方案 proxies = {"https": "https://IP:PORT"} requests.get("https://google.com", proxies=proxies, verify=False) ``` **2. Httpx(异步/现代)** ``` import httpx import ssl # 为代理连接创建自定义 SSL context ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE mounts = { "https://": httpx.AsyncHTTPTransport(proxy=httpx.Proxy(url="https://IP:PORT", ssl_context=ctx)), "http://": httpx.AsyncHTTPTransport(proxy=httpx.Proxy(url="https://IP:PORT", ssl_context=ctx)), } async with httpx.AsyncClient(mounts=mounts, verify=False) as client: resp = await client.get("https://google.com") ```
💻 自动化下载示例(cURL,Python) - 点击展开)
### 1. 简易命令行(cURL) 获取高速 SOCKS5 代理列表: ``` curl -L "https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/MostStable/socks5.txt" -o socks5.txt ``` ### 2. Python 将代理直接加载到你的脚本中: ``` import requests url = "https://raw.githubusercontent.com/proxygenerator1/ProxyGenerator/main/Stable/http.txt" proxies = requests.get(url).text.strip().split("\n") print(f"Loaded {len(proxies)} proxies") ```
## 📂 仓库结构 数据为即时使用而组织: ### 🌟 质量分类 * **`MostStable/`** — 精英层级。高速、完全匿名,在严格目标上有 100% 成功率。 * **`Stable/`** — 可靠的主力。速度良好,适合大多数任务。 * **`Unstable/`** — 活跃但待重新验证或具有较高延迟。 ### 🌍 按国家分类 在 `Stable` 和 `MostStable` 文件夹内,你会发现一个 **`country/`** 目录。 * *示例:* `MostStable/country/Germany/socks5.txt` ### 🎯 针对特定网站(`ForSites/`) **最有价值的功能。** 这些文件夹中的代理**保证可以访问**特定服务: * 📺 **Netflix:** `ForSites/netflix/` * 🔍 **Google:** `ForSites/google/` * 📸 **Instagram:** `ForSites/instagram/` * 🎮 **Discord:** `ForSites/discord/` ## ⚖️ 免责声明 本软件和提供的列表**仅用于教育目的**。仓库所有者不对所提供材料的任何滥用负责。这些代理是公开的,收集自公开来源。
标签:Homebrew安装, HTTPS代理, HTTP代理, SOCKS4代理, SOCKS5代理, 代理下载, 代理列表, 代理服务, 免费代理, 匿名代理, 协议排序, 国家分类, 在线工具, 安全测试, 攻击性安全, 深度验证, 稳定代理, 网络安全, 网络工具, 网络资源, 自动更新, 资源分享, 逆向工具, 隐私保护