proxy scraper

其他类别 2025-08-18

使用量角器制成的proxy scraper |代理列表 - 每3小时更新一次

当前代理计数:1800+

快速访问 - 格式

TXT

 curl "https://sunny9577.gith**u*b.io/proxy-scraper/proxies.txt" > proxies.txt

JSON

 curl "https://sunny9577.g*i*t*hub.io/proxy-scraper/proxies.json" > proxies.json

CSV

 curl "https://sunny9577.gi**t*hub.io/proxy-scraper/proxies.csv" > proxies.csv

yaml

 curl "https://sunny9577.**g*ithub.io/proxy-scraper/proxies.yaml" > proxies.yaml

XML

 curl "https://sunny9577.***github.io/proxy-scraper/proxies.xml" > proxies.xml

快速访问 - 按类型

支持格式:TXT | JSON | CSV | yaml | XML

袜子5

 curl "https://sunny9577.g***ithub.io/proxy-scraper/generated/socks5_proxies.txt" > socks5_proxies.txt

袜子4

 curl "https://sunny9577.*githu**b.io/proxy-scraper/generated/socks4_proxies.txt" > socks4_proxies.txt

http(s)

 curl "https://sunny9577.*gi**thub.io/proxy-scraper/generated/http_proxies.txt" > http_proxies.txt

设置要求

1-窗口,Mac或Linux计算机

2 -Google Chrome已安装

3 -NODEJS和NPM已安装

设置

该机器人基于量角器自动化浏览器测试软件。

1-打开终端并确保您在项目目录中

 cd proxy-scraper

2-确保安装了量角器

要检查是否已安装量角器运行:

 protractor --version

如果输出是这样的:

 Version 7.0.0

这意味着已经安装了量角器,否则运行命令:

 npm install -g protractor

3-安装Selenium Webdriver

这是您的程序运行的地方,即可安装它,只需执行命令:

 webdriver-manager

4-数据库连接(仅当您想将输出保存到数据库时)

您可以跳过此步骤,只需将save_to_db设置为false in Config.js

转到文件config.js,然后使用您的登录信息进行更改

 npm install mysql2

表结构(表名称:Proxies_tb)

姓名 类型 整理 属性 无效的 默认 评论 额外的
1 idprimary int(11) 没有任何 auto_increment
2 ProxyIndex Varchar(50) latin1_swedish_ci 没有任何
3 港口 int(10) 没有任何
4 国家 Varchar(100) latin1_swedish_ci 没有任何
5 类型 Varchar(100) latin1_swedish_ci 没有任何
6 匿名 Varchar(100) latin1_swedish_ci 没有任何

运行机器人

1-更新Selenium Web服务器并安装依赖项

打开终端并确保您在项目目录中:

 cd proxy-scraper

更新网络驱动程序:

 webdriver-manager update

安装依赖项:

 npm install

2-运行机器人

是时候开始检索代理,确保您进入项目目录:

 cd proxy-scraper

运行机器人:

 protractor conf.js

其他工具

  • socks5_test.py

    此Python脚本测试了针对https://ica**n*hazip.com和https://eset.com的Socks5代理。由 @techroy23贡献

    运行步骤:

    • pip3安装表格
    • python3 socks5_test.py

免责声明

该存储库仅用于教育目的。我既不认可也不鼓励任何非法活动或行为。

执照

麻省理工学院

下载源码

通过命令行克隆项目:

git clone https://github.com/sunny9577/proxy-scraper.git