50

wget normally stops when it gets a HTTP error, e.g. 404 or so. Is there an option to make wget to download the page content regardless of the HTTP code?

lilydjwg
  • 916

1 Answers1

79

Parameter: --content-on-error, available from wget 1.14:

If this is set to on, wget will not skip the content when the server responds with a http status code that indicates error.

Paŭlo Ebermann
  • 218
  • 1
  • 11
Nowaker
  • 1,646
  • 14
  • 13