SpiderClub / haipproxy

:sparkling_heart: High available distributed ip proxy pool, powerd by Scrapy and Redis

Home Page:https://spiderclub.github.io/haipproxy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

squid_update.py获取代理池出现问题

hlafsnio opened this issue · comments

按照步骤安装完对应的环境后,首先执行

$ sudo python3 squid_update.py
:0: UserWarning: You do not have a working installation of the service_identity module: 'cannot import name 'opentype''.  Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied.  Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification.  Many valid certificate/hostname mappings may be rejected.
2018-12-29 21:00:58 [client] INFO: the updating task is starting...
2018-12-29 21:00:58 [client] INFO: no proxies got at this turn
2018-12-29 21:00:58 [client] INFO: update squid conf successfully
2018-12-29 21:02:58 [schedule] INFO: Running job Every 2 minutes do update_conf() (last run: [never], next run: 2018-12-29 21:02:58)
2018-12-29 21:02:58 [client] INFO: no proxies got at this turn
2018-12-29 21:02:58 [client] INFO: update squid conf successfully
2018-12-29 21:04:58 [schedule] INFO: Running job Every 2 minutes do update_conf() (last run: 2018-12-29 21:02:58, next run: 2018-12-29 21:04:58)
2018-12-29 21:04:58 [client] INFO: no proxies got at this turn
2018-12-29 21:04:58 [client] INFO: update squid conf successfully

并没有获取到ip...感觉是自己没有理解squid的作用,是由它去下载ip池吗...还是我哪里步骤错误了....