Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 groovy & grails 和 mongodb 开发网络爬虫有没有办法使用 crawler4j 计算页面的深度?我知道我可以限制我想要抓取的深度,但没有遇到任何建议如何计算页面深度的东西。谢谢。
Crawler4j 计算页面深度。
webUrl.getDepth();