WGET - Warc-File仅获得主页和机器人页面?
我正在尝试在一个小型WARC文件上进行一个小项目。我使用了此命令:
[ ! -f course.warc.gz ] && wget -r -l 3 "https://www.ru.nl/datascience/" --delete-after --no-directories --warc-file="course" || echo Most likely, course.warc.gz already exists
第一次运行它,一切都很好,价值超过150页,惊人。现在,我想从头开始重做它,因此我删除了文件“ course.warc.gz';问题是,当我运行相同的命令时,我会收到3页:一张请求,以及两个机器人页面启动。为什么会发生这种情况?
I am trying to do a little project on a small-ish WARC file. I used this command:
[ ! -f course.warc.gz ] && wget -r -l 3 "https://www.ru.nl/datascience/" --delete-after --no-directories --warc-file="course" || echo Most likely, course.warc.gz already exists
First time I ran it, everything went fine, got over 150 pages worth, amazing. Now I wanted to redo it from scratch, so I deleted the file 'course.warc.gz'; problem is, when I run the same command now I get 3 pages: the one requested for, and two robot pages to boot. Why is this happening?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
( https://www.ru.nl/robots.txt“ rel =“ nofollow noreferrer”> robots.txt 包括以下规则:
难以回答WGET上一次运行期间发生的事情。也许robots.txt更改了?
The robots.txt includes the following rule:
Difficult to answer whether what happened during the previous run of wget. Maybe the robots.txt changed?