Giter VIP home page Giter VIP logo

Comments (2)

ResolveWang avatar ResolveWang commented on May 16, 2024

你说的缓存是指的conf文件中的吗?如果是的话,是不能通过手动清除的,因为筛ip是通过一套算法去redis中取的,你得把redis中相应的ip删了才行。这个算法中会考虑到最近验证时间,要是过了最近验证时间,它就不会取它了。这个也是用squid的弊端,爬虫客户端无法对代理ip质量进行直接的反馈。

所以我建议你如果用python的话,可以使用Python语言代理客户端,它会实时对代理IP的效果进行反馈。如果你不熟悉Python,可以自己按照Python客户端的编写方式写一个客户端,核心算法见core.py,细节可以参考开发者文档,里面说了详细的说明

from haipproxy.

ColorfulGhost avatar ColorfulGhost commented on May 16, 2024

谢了,我确实对python不熟悉,我会尝试去编写客户端或学习下Python..

from haipproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.