[Tutor] can I walk or glob a website?

Flynn, Stephen (L & P - IT) Steve.Flynn at capita.co.uk
Wed May 18 11:28:07 CEST 2011


Pardon the crappy quoting - forced to use Exchange. Top posted too...
the shame.

What about curl and libcurl? http://curl.haxx.se/

S.

-----Original Message-----
From: tutor-bounces+steve.flynn=capita.co.uk at python.org
[mailto:tutor-bounces+steve.flynn=capita.co.uk at python.org] On Behalf Of
Alan Gauld
Sent: Wednesday, May 18, 2011 10:18 AM
To: tutor at python.org
Subject: Re: [Tutor] can I walk or glob a website?


"Albert-Jan Roskam" <fomcl at yahoo.com> wrote 

> How can I walk (as in os.walk) or glob a website? 

I don't think there is a way to do that via the web.
Of course if you have access to the web servers filesystem 
you can use os.walk to do it as for any other filesystem, 
but I don't think its generally possible over http. (And 
indeed it shouldn''t be for very good security reasons!)

OTOH I've been wrong before! :-)




This email and any attachment to it are confidential.  Unless you are the intended recipient, you may not use, copy or disclose either the message or any information contained in the message. If you are not the intended recipient, you should delete this email and notify the sender immediately.

Any views or opinions expressed in this email are those of the sender only, unless otherwise stated.  All copyright in any Capita material in this email is reserved.

All emails, incoming and outgoing, may be recorded by Capita and monitored for legitimate business purposes. 

Capita exclude all liability for any loss or damage arising or resulting from the receipt, use or transmission of this email to the fullest extent permitted by law.


More information about the Tutor mailing list