You might want to also modify your c:/python/Lib/urllib.py file.
By adding/modifying the following headers.
self.addheaders = [('User-agent', 'Mozilla/4.0')]
#Trick the server into thinking it is explorer
self.addheaders = [('Referer','http://www.infomedia.it')]
#Trick the site that you clicked
rock69 wrote:
> Hi all :)
>
> I was wondering if there's some neat and easy way to get the entire
> contents of a directory at a specific web url address.
>
> I have the following link:
>
> http://www.infomedia.it/immagini/riviste/covers/cp
>
> and as you can see it's just a list containing all
rock69 enlightened us with:
> I was wondering if there's some neat and easy way to get the entire
> contents of a directory at a specific web url address. [...] Is it
> possible to retrieve this list (not the physical files) and have it
> stored in a variable of type list or something?
Check out t
Hi all :)
I was wondering if there's some neat and easy way to get the entire
contents of a directory at a specific web url address.
I have the following link:
http://www.infomedia.it/immagini/riviste/covers/cp
and as you can see it's just a list containing all the files (images)
that I need. I