Collect and maintain IP proxy data, and provide a RESTful API for access.
Name | Status | Desc |
---|---|---|
89ip | ||
ip3366 | ||
kuaidaili | ||
ProxyListPlus | maybe github workflow's IP is blocked | |
zdaye | It seems that non-Chinese IP addresses will be blocked |
/
Query proxies.
param | desc | sample |
---|---|---|
type | proxy type 1: transparent 2: annoymous 3: high annoymous |
3 |
protocol | protocol type 1: HTTP 2: HTTPS 3: Both |
3 |
limit | limit count | 10 |
/count
Query total count of proxies.
/delete
Delete proxy from database.
param | desc | sample |
---|---|---|
ip | ip to delete | 10.10.10.10 |
port | port | 8080 |
type Config struct {
Mode string // "debug", "release"
Host string // default "0.0.0.0"
Port int // default 9002
CountThreshold int64 // if less than threshold, start crawler
CrawlSleepSec int64 // sleep seconds between crawls
DetectSleepSec int64 // sleep seconds between detects proxy from db
}
go run cmd/main.go