GithubHelp home page GithubHelp logo

Comments (2)

qianbaidu avatar qianbaidu commented on May 18, 2024

如何在server里面push任务详情页面url给调度中心,然后client如何读取调度中心的详情页面url地址抓取?

from pholcus.

andeya avatar andeya commented on May 18, 2024

pholcus规则的执行逻辑:

  1. 每个rule都是并发执行的,用户完全可以在任意一个rule中进行Output;
  2. 你提到的“列表没抓取完,并不会开始内容抓取”,其实是你理解片面了,这种情况是你横行向优先逻辑。你也可以写纵向优先抓取的逻辑。这个是靠Request.Priority来实现,该字段数值越多,优先级越高。
    纵向优先的示例:
    https://github.com/henrylee2cn/pholcus_lib/blob/master/taobao/taobao.go#L168
    https://github.com/henrylee2cn/pholcus_lib/blob/master/taobao/taobao.go#L213

from pholcus.

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.