proxy-scraper

sunny9577活跃维护

用 Protractor 自动抓取公开代理并每三小时更新可用代理列表,适合需要稳定免费 HTTP/HTTPS 代理源的场景。

⭐️ A proxy scraper made using Protractor | Proxy list Updates every three hour 🔥

暂无版本597star +1 / 7 天80fork同步于 2026-11-10 11:57 UTC

怎么上手

由 README 提炼,执行前请确认
npm install -g protractor
webdriver-manager update
npm install
protractor conf.js
硬件要求按 README 说明

需要 Windows、Mac 或 Linux 电脑,并安装 Google Chrome;README 未提及显存或 GPU 要求

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

用 Protractor 抓取公开代理并每三小时更新列表,可直接下载现成代理

用 Protractor 自动抓取公开代理并每三小时更新可用代理列表,适合需要稳定免费 HTTP/HTTPS 代理源的场景。

核心能力

  • 用 Protractor 驱动 Chrome 自动抓取代理
  • 提供 txt/json/csv/yaml/xml 五种格式
  • 按 SOCKS5、SOCKS4、HTTP(S) 分类输出
  • GitHub Actions 定时更新代理列表
  • 可选把结果写入 MySQL 数据库

容易踩的坑

运行前必须安装 Chrome 并执行 webdriver-manager update,否则浏览器驱动不可用;默认会把结果写入数据库,不想入库需在 config.js 里把 SAVE_TO_DB 设为 false;socks5_test.py 需另装 tabulate 和 pysocks 依赖

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    ⭐️ A proxy scraper made using Protractor | Proxy list - Updates every 3 hours 🔥

    Every 10 Minutes Update License: MIT GitHub last commit Maintenance Website sunny9577.github.io made-with-nodejs

    Current Proxy Count: 1600+ 🚀

    Quick Access - By Format

    TXT

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

    JSON

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

    CSV

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

    YAML

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

    XML

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

    Quick Access - By Type

    Supported formats: txt | json | csv | yaml | xml

    SOCKS5

    curl "https://sunny9577.github.io/proxy-scraper/generated/socks5_proxies.txt" > socks5_proxies.txt
    

    SOCKS4

    curl "https://sunny9577.github.io/proxy-scraper/generated/socks4_proxies.txt" > socks4_proxies.txt
    

    HTTP(S)

    curl "https://sunny9577.github.io/proxy-scraper/generated/http_proxies.txt" > http_proxies.txt
    

    Setup Requirements

    1 - A Windows, Mac or Linux Computer

    2 - Google Chrome installed

    3 - Nodejs and NPM installed

    Setup

    This bot is based on protractor automated browser testing software.

    1 - Open a terminal and make sure you are in the project directory

    cd proxy-scraper
    

    2 - Make sure you have protractor installed

    To check if you have protractor installed run:

    protractor --version
    

    If the output is something like this:

    Version 7.0.0
    

    This means protractor is already installed, otherwise run the command:

    npm install -g protractor
    

    3 - Install Selenium Webdriver

    This is where your program will run, to install it simply execute the command:

    webdriver-manager
    

    4 - Database Connectivity ( Only if u want to save output to database)

    You can skip this step just set SAVE_TO_DB to false in config.js

    Go to the file config.js and change with your login information

    npm install mysql2
    

    Table Structure (Table Name: proxies_tb)

    NameTypeCollationAttributesNullDefaultCommentsExtra
    1idPrimaryint(11)NoNoneAUTO_INCREMENT
    2proxyIndexvarchar(50)latin1_swedish_ciNoNone
    3portint(10)NoNone
    4countryvarchar(100)latin1_swedish_ciNoNone
    5typevarchar(100)latin1_swedish_ciNoNone
    6anonymityvarchar(100)latin1_swedish_ciNoNone

    Running the bot

    1 - Update the Selenium webserver and install dependencies

    Open a terminal and make sure you are in the project directory:

    cd proxy-scraper
    

    Update webdrivers:

    webdriver-manager update
    

    Install dependencies:

    npm install
    

    2 - Run the bot

    Its time to start retrieving the proxies, make sure you are in the project directory:

    cd proxy-scraper
    

    Run the bot:

    protractor conf.js
    

    Additional Tools

    Disclaimer

    This repository is intended solely for educational purposes. I neither endorse nor encourage any illegal activities or behavior. If you are the owner of a proxy included in any of the lists and wish to have it removed, please contact us by creating an issue.

    License

    MIT

    RepoStars