Hi everyone, new to python. I'm attempting to download a large amount
of webpages (about 600) to disk and for some reason a few of them
fail.
I'm using this in a loop where pagename and urlStr change each time:
import urllib
try:
urllib.urlretrieve(urlStr, 'webpages/'+pagename+'.htm')
On Jul 6, 5:39 pm, TimB wrote:
> Hi everyone, new to python. I'm attempting to download a large amount
> of webpages (about 600) to disk and for some reason a few of them
> fail.
>
> I'm using this in a loop where pagename and urlStr change each time: