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?
| |||
|
feedback
|
|
Use curl when wget fails.
Usage (saved as wget.sh): 404 error will be saved with curl:
Working URL will be saved with wget:
| |||||||||
feedback
|
curlinstead. – Daniel Beck Mar 6 '11 at 8:49