Is there any way to have wget
ignore HTTP error response codes when downloading a URL or spidering a webpage?
Let's start with something simple. Copy the URL for a file you'd like to download in your browser. Now head back to the Terminal and type wget followed by the pasted URL. The file will download, and you'll see progress in realtime as it does.
A 404 error is a standard HTTP error message code that means the website you were trying to reach couldn't be found on the server. It's a client-side error, meaning either the webpage was removed or moved and the URL wasn't changed accordingly, or the person just typed in the URL incorrectly.
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\.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With