[Tutor] can I walk or glob a website?

Albert-Jan Roskam fomcl at yahoo.com
Thu May 19 09:25:46 CEST 2011


Thank you, always useful to study other people's code. I wasn't planning to 
create a Gui for my app. It struck me that the Gui class also contains all the 
methods that deal with the html parsing. But maybe that's what your warnings 
were about. ;-)
 Cheers!!
Albert-Jan 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public 
order, irrigation, roads, a fresh water system, and public health, what have the 
Romans ever done for us?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 




________________________________
From: Marc Tompkins <marc.tompkins at gmail.com>
To: tutor at python.org
Sent: Wed, May 18, 2011 9:10:06 PM
Subject: Re: [Tutor] can I walk or glob a website?


On Wed, May 18, 2011 at 11:21 AM, Marc Tompkins <marc.tompkins at gmail.com> wrote:

On Wed, May 18, 2011 at 11:04 AM, Prasad, Ramit <ramit.prasad at jpmchase.com> 
wrote:
>
>> It's horribly crude, in retrospect, and I'm embarrassed re-reading my code - 
>>but if you're interested I can forward it (if only as an example of what _not_to 
>>do.)
>>I would be interested even if the OP is not ;)
>>
>OK then, but bear in mind that I was young and foolish then.  Of course, I'm old 
>and foolish now...
>I just DID re-read it, and I'd just like to point out:
-  I wrote my script to work with the structure of one particular website, 
"audiobooks.ulitka.com".  As written, it probably wouldn't work with a generic 
site.
-  "audiobooks.ulitka.com" no longer exists, so even if you installed all the 
dependencies and got my code working, it wouldn't work.   The "ulitka.com" 
domain appears to have been sold to a completely different 
business/organization...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110519/4ca8b5aa/attachment-0001.html>


More information about the Tutor mailing list