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

几个免费代理 #557

Open
0xscav opened this issue Apr 6, 2021 · 8 comments
Open

几个免费代理 #557

0xscav opened this issue Apr 6, 2021 · 8 comments

Comments

@0xscav
Copy link

0xscav commented Apr 6, 2021

https://www.proxy-list.download/api/v1/get?type=socks4
socks4,socks5,http,https
http://free-proxy.cz/zh/
socks4,socks5,http,https
https://spys.one/en/
socks4,socks5,http,https
https://premproxy.com/socks-list/
socks4,socks5
https://api.proxyscrape.com/?request=displayproxies&proxytype=all
socks4,socks5,http,https
https://www.proxyscan.io/download?type=socks4
socks4,socks5,http,https
希望出web界面和指定代理类型输出

@jhao104
Copy link
Owner

jhao104 commented Apr 7, 2021

感谢,后续会添加

@jwdeaa
Copy link

jwdeaa commented Apr 10, 2021

Here's another source for more proxies
Site: http://pzzqz.com/
API Doc: https://pzzqz.com/settings/profile

@jhao104
Copy link
Owner

jhao104 commented Apr 12, 2021

Here's another source for more proxies
Site: http://pzzqz.com/
API Doc: https://pzzqz.com/settings/profile

这个已经有了

@duyuefeng0708
Copy link

@jhao104
Copy link
Owner

jhao104 commented May 31, 2021

@jhao104
上面列的有一个质量不行
http://spys.me/proxy.txt

再添加几个英文全世界的:
http://www.proxylists.net
https://free-proxy-list.net/anonymous-proxy.html
https://www.proxynova.com/proxy-server-list/

还有另一个issue提到的:
http://free-proxy.cz/en/proxylist

有些境外的没有加是因为墙的关系,国内访问不了的我没有加到内置的采集里面

@duyuefeng0708
Copy link

那可以考虑加一个branch吗?

@5wcx
Copy link

5wcx commented Aug 11, 2021

大佬 可以发个代码吗 我只会改一点 写不会写

@mascotli
Copy link

mascotli commented Aug 28, 2021

请教下 python 怎么使用socks5、socks4的 ip 呢?我这边两种方法都尝试了,一直通不过,代码如下

def test_ip(ip, port):
try:
headers = get_headers()
# 方法一
proxy = {
"http": "socks5://" + ip + ':' + port,
"https": "socks5://" + ip + ':' + port
}
# 方法二
# socks5 猴子补丁
socks.set_default_proxy(socks.SOCKS5, ip, int(port))
socket.socket = socks.socksocket
url = "http://www.google.com/"
req = requests.get(url, headers=headers, timeout=5)
req.raise_for_status()
except Exception as e:
logging.error(e)
logging.error('%s:%s fail' % (ip, port))
else:
logging.error('%s:%s pass' % (ip, port))

很多都能 ping 通,telnet 也能通,用上面的程序就不行了

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

No branches or pull requests

6 participants