Code Monkey home page Code Monkey logo

Comments (3)

Qianlitp avatar Qianlitp commented on May 10, 2024

这种情况属于伪静态去重没有覆盖到, 使用--max-crawled-count参数设置每个域名的最大任务数量。

from crawlergo.

djerryz avatar djerryz commented on May 10, 2024

使用 --max-crawled-count参数 会导致有接口遗漏的情况嘛.
还有爬取时间过长不是crawlergo的原因,是我获取crawlergo生成的结果req_list, 然后对req_list做请求时, 发现请求量巨大, 我的解决方法方法是若为GET请求,则请求路径split("/"), 然后取最后一个字符串做统计, 达到30次就去重复, 然后针对单个子域名, req_list超过1万个,则只取前10000.
感觉自己的方法挺笨的, 我等下试试--max-crawled-count.

from crawlergo.

Qianlitp avatar Qianlitp commented on May 10, 2024

其实单个域名取前1000已经能满足绝大多数的情况了,很少有单个域名的接口数量那么庞大的,大多都是伪静态。你的方法没什么问题。

from crawlergo.

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.