Skip to content

Nyloner/proxypool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProxyPool

A simple proxy tool written by golang.

Usage

Config

{
  "ServerIP": "localhost",
  "ServerPort": 8080, // 监听
  "ProxyRedis": {
    "Server": "127.0.0.1:6379" // redis服务地址,依赖redis zset存储代理IP
  }
}

Run Server

make run

Example

import requests

proxies = {
    'http': 'http://127.0.0.1:8080',
    'https': 'http://127.0.0.1:8080',
}

url = 'https://myip.ipip.net/'
resp = requests.get(url, proxies=proxies,timeout=10).text
print(resp)

About

A proxy tool written by golang.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published