如何使用 wget 下载页面但如果页面不存在则忽略 404 错误消息?

How to download a page with wget but ignore 404 error messages if the page does not exist?

有什么方法可以让 wget 在下载 URL 或抓取网页时忽略 HTTP 错误响应代码?

假设我理解了 "ignoring errors" 的意思,您可以试试 --content-on-error 的说法。根据 wget manual,它会强制 wget 跳过状态错误代码\.