OK, the problem was an outdated version of mechanize packaged with
twill. I tested both the mechanize from its own subversion repository
and the one included in the latest (darcs) version of twill, and only
the latter worked.

Titus, do you plan to update the components used by twill (in
particular, the mechanize library, so that this problem is fixed)?
Thanks.

On 8/8/06, John J Lee - [EMAIL PROTECTED]
<> wrote:
> On Tue, 8 Aug 2006, [EMAIL PROTECTED] wrote:
>
> > Would you mind sharing the code snippet to make this happen? What
> > version of mechanize did you use? (The one included with twill?)
> > Thanks.
> [...]
>
> I didn't do anything special, and used mechanize SVN with Python 2.5.
>
> I won't post/email the ten line script: I don't want to encourage scraping
> against terms of use (it seems the no-scrape clause is rather a legal
> reflex action these days).  Simply logging in doesn't appear to be against
> their terms, but I assume in your case logging in would be a prelude to
> some automated action, which they do prohibit.
>
>
> John
>
>

_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill

Reply via email to