Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

扩展了/get api,使其支持参数region从而支持获取指定地区的代理 #692

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Jerry12228
Copy link
Contributor

@Jerry12228 Jerry12228 commented Aug 13, 2022

前提:我提交的上一个pr #691

非常抱歉我没能更改有关ssdb的代码(这意味着使用ssdb的用户无法使用此api)
我将在后续的pr中提交相关更改, 见谅
扩展了/get api,使其支持参数region从而支持获取指定地区的代理
e.g.
http://ip:5010/get?region=中国
返回
{
"anonymous": "",
"check_count": 27,
"fail_count": 0,
"https": false,
"last_status": true,
"last_time": "2022-08-13 22:36:27",
"proxy": "112.250.110.172:9091",
"region": "中国 山东 泰安 联通",
"source": "freeProxy06"
}

http://ip:5010/get?region=云南
返回
{
"anonymous": "",
"check_count": 1,
"fail_count": 0,
"https": false,
"last_status": true,
"last_time": "2022-08-13 22:37:11",
"proxy": "39.130.150.42:80",
"region": "中国 云南 昆明 移动",
"source": "freeProxy07"
}

@Jerry12228
Copy link
Contributor Author

get/?type=https&region=中国 无法正常使用

这个pr还没有被合并,

get/?type=https&region=中国 无法正常使用

这个pr还没有被合并

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant