dougfort at downright.com
Wed Jun 6 22:45:31 CEST 2001
Rob Deker wrote:
>Is there an easy way to
> modify the HTML one is parsing while it's being parsed? For example,
> if I wanted to change absolute links to relative links.
We modify links in our website load testing application. We use sgmllib to
process the html, it's much more flexible than htmllib. I
f you're interested in that sort of thing, I strongly recommend the new
'Python Standard Library' by Frederik Lundh from O'Reilly. It has a high
signal to noise ratio with many examples, including sgmllib and htmllib.
I've attached one of our parsers from http://www.stressmy.com, FWIW it may
be too incoherrent to be of use to you.
Doug Fort <dougfort at downright.com>
Senior Meat Manager
Downright Software LLC
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 38461 bytes
Desc: not available
More information about the Python-list