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?

1
  • 4
    You can use curl instead.
    – Daniel Beck
    Mar 6, 2011 at 8:49

1 Answer 1

78

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.

5

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .