-
单独运行的ProxyPool中的run.py文件,结果报错
Traceback (most recent call last):
File "D:/project/Spiders-master/ProxyPool/run.py", line 32, in
m.run()
File "D:/project/Spiders-master/ProxyPool/run.py", …
-
Sample code.........
```python
class ProxyList(object):
def __init__(self):
self.proxypool = None
def get_proxies(self):
url = 'YOUR_PROXY_ADDRESS'
resp…
lefig updated
3 years ago
-
HI想問一下,
透過run.py 啟動後, 用以下python code好像沒辦法成功拿到IP, 請問要怎麼透過python函式拿代理IP呢?謝謝
* python code
```python
>>> import requests
>>> proxypool_url = 'http://127.0.0.1:5555/random'
>>> def get_random_prox…
-
![image](https://user-images.githubusercontent.com/68326147/153759310-779a71a0-e592-490e-ae91-385b224b07fc.png)
-
Traceback (most recent call last):
File "run.py", line 2, in
from proxypool.schedule import Schedule
File "E:\soft\Python\untitled\2\ProxyPool\proxypool\schedule.py", line 11, in
fro…
-
⚡ root@instance-69nkc38q ~ ./proxypool
2019/04/19 11:21:36 [TRACE] Log path:
2019/04/19 11:21:36 [TRACE] Log Mode: File (Info)
2019/04/19 11:21:36 [ INFO] ProxyPool
2019/04/19 11:21:37 Starting …
-
-
大佬您好,感谢您写的code!!
我按照您的方法设置开机自启,程序自启是可以的,可是程序要8个小时后才开始工作,系统是从网络获取的时间,用timedatectl
获得的结果如下:
root@debian:~# timedatectl
Local time: 六 2021-06-05 23:47:47 CST
Universal time: 六 2021-06-05 15:…
-
Traceback (most recent call last):
File "D:\Git_local\proxy_pool\proxyPool.py", line 43, in
cli()
File "\\PC-20230502BKCE\Anaconda3\lib\site-packages\click\core.py", line 1128, in __call__…
-
Hi,
I needed a pool of proxies to cycle through and didn't see any direct support in this library. I've made a patch to supply this and thought others might benefit from it as well. If you'd like to …