iw4p/proxy-scraper
소개
5개가 넘는 소스에서 프록시를 수집하고 아직 작동하는 프록시를 확인합니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- -1
- in 7 days
- -2
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalProxy Scraper and Checker
Scrape more than 1K HTTP - HTTPS - SOCKS4 - SOCKS5 proxies in less than 2 seconds.
Scraping fresh public proxies from different sources:
- sslproxies.org (HTTP, HTTPS)
- free-proxy-list.net (HTTP, HTTPS)
- us-proxy.org (HTTP, HTTPS)
- socks-proxy.net (Socks4, Socks5)
- proxyscrape.com (HTTP, Socks4, Socks5)
- proxy-list.download (HTTP, HTTPS, Socks4, Socks5)
- geonode.com (HTTP, HTTPS, Socks4, Socks5)
Installation
You can install the package directly from PyPI using pip:
pip install proxyz
Alternatively, you can install dependencies manually if you're working from the source code:
pip3 install -r requirements.txt
Usage
Using the Command-Line Interface
Once installed via pip, you can use the command-line tools proxy_scraper and proxy_checker directly.
For Scraping Proxies:
proxy_scraper -p http
- With
-por--proxy, you can choose your proxy type. Supported proxy types are: HTTP - HTTPS - Socks (Both 4 and 5) - Socks4 - Socks5. - With
-oor--output, specify the output file name where the proxies will be saved. (Default is output.txt). - With
-vor--verbose, increase output verbosity. - With
-hor--help, show the help message.
For Checking Proxies:
proxy_checker -p http -t 20 -s https://google.com -l output.txt
- With
-tor--timeout, set the timeout in seconds after which the proxy is considered dead. (Default is 20). - With
-por--proxy, check HTTPS, HTTP, SOCKS4, or SOCKS5 proxies. (Default is HTTP). - With
-lor--list, specify the path to your proxy list file. (Default is output.txt). - With
-sor--site, check proxies against a specific website like google.com. (Default is https://google.com). - With
-ror--random_agent, use a random user agent per proxy. - With
-vor--verbose, increase output verbosity. - With
-hor--help, show the help message.
Running Directly from Source
If you prefer running the scripts directly from the source code, you can use the following commands:
For Scraping:
python3 proxyScraper.py -p http
For Checking:
python3 proxyChecker.py -p http -t 20 -s https://google.com -l output.txt
Good to Know
- Dead proxies will be removed, and only alive proxies will remain in the output file.
- This script is capable of scraping SOCKS proxies, but
proxyCheckercurrently only checks HTTP(S) proxies.
Star History
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Issues
Feel free to submit issues and enhancement requests or contact me via vida.page/nima.
License
관련 프로젝트 살펴보기
불러오는 중…