jhao104 / jhao104/proxy_pool

自定义fetcher方法验证通过但是不往redis存入

Open
#759 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23.7k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

2023-07-26 11:55:47,572 fetch.py[line:39] INFO ProxyFetch - ju_ip_proxy12: 221.231.77.45:50750 ok
2023-07-26 11:55:47,572 fetch.py[line:39] INFO ProxyFetch - ju_ip_proxy12: 27.150.167.210:42601 ok
2023-07-26 11:55:57,942 fetch.py[line:39] INFO ProxyFetch - ju_ip_proxy12: 122.230.52.72:50114 ok
2023-07-26 11:55:57,942 fetch.py[line:39] INFO ProxyFetch - ju_ip_proxy12: 114.231.46.102:37743 ok

我的是付费的,搞了几百个一个都没有往里面上传成功!
```python
@staticmethod
def ju_ip_proxy12():
while True:
r = WebRequest().get("http://v2.api.juliangip.com/dynamic/getips?xxxxx", timeout=10)
ips = r.text.split("\r\n")

for ip in ips:
print("代理ip", [ip])
yield ip
sleep(10)

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.