Re: Get directory from http web site

2005-08-06 Thread [EMAIL PROTECTED]
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

Re: Get directory from http web site

2005-08-06 Thread Kent Johnson
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

Re: Get directory from http web site

2005-07-22 Thread Sybren Stuvel
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

Get directory from http web site

2005-07-22 Thread rock69
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