[twill] beautifulSoup via twill?
John J Lee
jjl at pobox.com
Tue Jul 24 14:15:07 PDT 2007
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()?-)
John
More information about the twill
mailing list