Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/credittone/superproxy
基于golang协程实现的超级代理,真正优雅使用代理池
https://github.com/credittone/superproxy
Last synced: 2 months ago
JSON representation
基于golang协程实现的超级代理,真正优雅使用代理池
- Host: GitHub
- URL: https://github.com/credittone/superproxy
- Owner: CreditTone
- Created: 2021-06-02T09:02:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T09:02:39.000Z (over 3 years ago)
- Last Synced: 2024-06-21T17:54:29.697Z (7 months ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 28
- Watchers: 2
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 基于golang协程实现的超级代理,真正优雅使用代理池
### 效果展示
只要配置一个代理,发出去的ip都是动态切换的。爬虫不需考虑代理切换的问题。```shell
stephendeMacBook-Pro:src stephen$ curl -x 127.0.0.1:12001 "http://ip.sb"
125.79.233.15
stephendeMacBook-Pro:src stephen$ curl -x 127.0.0.1:12001 "http://ip.sb"
60.182.32.64
stephendeMacBook-Pro:src stephen$ curl -x 127.0.0.1:12001 "http://ip.sb"
curl: (56) Recv failure: Connection reset by peer
stephendeMacBook-Pro:src stephen$ curl -x 127.0.0.1:12001 "http://ip.sb"
221.230.170.109
```### 编译linux可执行文件
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build