I am trying to download a .jpg file, using urllib.request.urlretrieve(url, filename) in Python 3.5.2. The url is http://dm.victoriassecret.com/product/404x539/V603923_CROP1.jpg . The following error raises: http.client.RemoteDisconnected: Remote end closed connection without response.
I also have a problem when trying the same with this url = http://lp2.hm.com/hmprod?set=source[/model/2017/9AS 0505882 002 00 0034.jpg],type[STILLLIFE_FRONT]&hmver=0&call=url[file:/product/style] .
In that case the following error raises: raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 505: HTTP Version not supported
Does anybody know what is the problem with these urls and how could I fix it? Sharing your knowledge with me, would be nice.