Other

项目介绍

sunny9577/proxy-scraper 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 Other 许可证,目前获得 596 个 Star、78 次 Fork。

仓库全名
sunny9577/proxy-scraper
开源许可证
Other
Star 数
596
Fork 数
78
未关闭 Issue
1

README 摘要

⭐️ A proxy scraper made using Protractor | Proxy list - Updates every 3 hours 🔥 Current Proxy Count: 1400+ 🚀 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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

proxy-scraper 用什么语言开发?

主要使用 JavaScript 编写,采用 Other 许可证,目前有 596 个 Star。

proxy-scraper 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 proxy-scraper 的源码?

可以直接克隆仓库:git clone https://github.com/sunny9577/proxy-scraper.git,默认分支为 master;安装与运行步骤见仓库 README。

proxy-scraper 最近还在维护吗?

仓库最近一次更新为 17 小时前,当前有 1 个未关闭 Issue;Star 数为 596,可作为社区活跃度的参考。

关于

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

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

HTML
JavaScript
Python

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: 1400+ 🚀

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)

Name Type Collation Attributes Null Default Comments Extra
1 idPrimary int(11) No None AUTO_INCREMENT
2 proxyIndex varchar(50) latin1_swedish_ci No None
3 port int(10) No None
4 country varchar(100) latin1_swedish_ci No None
5 type varchar(100) latin1_swedish_ci No None
6 anonymity varchar(100) latin1_swedish_ci No None

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

评论

暂无评论