[twill] beautifulSoup via twill?
titus at caltech.edu
Tue Jul 24 14:18:36 PDT 2007
On Tue, Jul 24, 2007 at 10:15:07PM +0100, John J Lee wrote:
-> On Tue, 24 Jul 2007, Titus Brown wrote:
-> > this is about what you have to do, yes. It seems like a good idea to
-> > make a standardized API for it, though; do you have any thoughts on what
-> > that should be?
-> > Perhaps:
-> > import twill
-> > ...
-> > soup = twill.get_soup()
-> > is simple enough?
-> If that's a BS 2 object, perhaps the method name should reflect that, so
-> that .get_soup() is reserved for returning BS 3 objects?
-> .get_old_soup()? .get_cold_soup()?-)
Updating mechanize to BS 3.0 was AFAICT a three-line issue, so maybe
I'll just do that ;).
More information about the twill