Comments (3)
这种情况属于伪静态去重没有覆盖到, 使用--max-crawled-count
参数设置每个域名的最大任务数量。
from crawlergo.
使用 --max-crawled-count参数 会导致有接口遗漏的情况嘛.
还有爬取时间过长不是crawlergo的原因,是我获取crawlergo生成的结果req_list, 然后对req_list做请求时, 发现请求量巨大, 我的解决方法方法是若为GET请求,则请求路径split("/"), 然后取最后一个字符串做统计, 达到30次就去重复, 然后针对单个子域名, req_list超过1万个,则只取前10000.
感觉自己的方法挺笨的, 我等下试试--max-crawled-count.
from crawlergo.
其实单个域名取前1000已经能满足绝大多数的情况了,很少有单个域名的接口数量那么庞大的,大多都是伪静态。你的方法没什么问题。
from crawlergo.
Related Issues (20)
- 输出的json不合法 HOT 5
- Mac系统报错 HOT 1
- Any suggestions on authenticated crawling? HOT 1
- 请删除
- Form auto-fill not working HOT 1
- crawlergo not working HOT 1
- 表格自动填写
- 导航超时 navigate timeout HOT 2
- Crawlergo not working HOT 3
- Navigate timeout HOT 1
- OpenAPI Support
- may i know about this?
- may i know what tool is this?
- 功能建议
- 只有get请求
- 增加sitemap.xml(网站地图)解析功能,其读取主要和robots.txt差不多 HOT 1
- Duplicate Requests HOT 1
- --robots-path 参数问题 HOT 3
- 代理存在账号密码验证的时候会请求超时 HOT 1
- crawlergo陷入假死状态发现大量Chromium僵尸进程 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crawlergo.