I've a script that will download 200k websites index source web pages.
I used wget for that.
wget $i -T5 --tries=3 --no-check-certificate
I included --no-check-certificate, --tries=3 and -T5 to avoid my script being blocked on any http request which requires manual intervention which i don't want to do each time!
But sadly, my script got stuck on "Awaiting http response" many times for hours (this is the only message I remember when it's stuck).
Could anyone tell me what are the other flags that I should include to instruct my script to pass to the next website if something like that happened?
I'm sure there is more exceptions, so could you send me a modified version of my wget command which instructs my script to continue if it got stuck.