Nutch:获取每个网址的种子网址

发布于 2024-12-29 14:42:28 字数 73 浏览 4 评论 0原文

我尝试将Nutch配置为图像爬虫,并且已经可以在爬行后获取图像url。 现在,我想获取每个图像网址的种子网址,我该怎么做? 谢谢你!

I try to configure Nutch as an image crawler and already could get the image urls after crawl.
Now, I want to get the seed url of each image url, how can I do that?
Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无人问我粥可暖 2025-01-05 14:42:28

尝试从爬网段生成 linkdb(倒排索引),您可能会得到 url 的父级。如果某个 url 有一个父级,那么它将成为该 url 的种子。
阅读 有关命令的帮助。

Try to generate linkdb (inverted index) from the crawled segments and you might get the urls' parents. If there url has one parent, then it will be the seed of that url.
Read this and this for help on commands.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文