wgetis a great tool to download files or webpages. It is not the first timke that I find that the links of a webpage are not updated or wrong. For instance, a web page which has its pictures/files linked with http://websitehttp//website.file.extension.Is there a way to tell wget that, if no content is found, it has to look in the address http//website.file.extension instead of http://websitehttp//website.file.extension?EDIT: Following @Tigger's comment, I can get exit status but how to ask wget for that specific file that failed to get it on the right link/address?wget_output=$(wget limit-rate=200k no-clobber convert-links random-wait -r -p -E $URL)if [ $? -ne 0 ]; then  ...fi
pass an alternative link to wget when downloading pictures/files on error
wget