问题
Is there any way to have wget
ignore HTTP error response codes when downloading a URL or spidering a webpage?
回答1:
Assuming I understood what you mean by "ignoring errors", you can try the --content-on-error
argument. According to wget manual, it will force wget to skip status error codes\.
来源:https://stackoverflow.com/questions/32095741/how-to-download-a-page-with-wget-but-ignore-404-error-messages-if-the-page-does