I switched from wget to curl.