On Thu, Feb 09, 2006 at 10:04:18PM +0100, Ondrej Certik wrote: -> Hi Titus, -> I tested your program twill and it seems very good. I had a 122 lines python -> script for sending sms messages using a web interface (made by the provider), -> where I used BeautifulSoup, ClientCookie and ClientForm. I can do the same -> thing using twill with only a 16 lines script.
Glad to hear it! [ munch ] -> I have a suggestion though - after executing: -> -> agent ie6 -> go http://www.o2.ie/ -> fv 3 username ### -> fv 3 password ### -> submit -> show -> -> I get this page: -> -> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -> <html> -> <head> -> <title>o2.ie</title> -> <meta http-equiv="refresh" content="0;URL=http://web.o2.ie/personal/"> -> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -> </head> -> <body> -> </body> -> </html> -> -> and twill doesn't automatically redirect to "http://web.o2.ie/personal/" - and -> also I didn't find some easy way of using something like "follow ..." etc. As -> you can see in my script (above), I have to use the -> "go http://web.o2.ie/personal/" statement with explicitly writing the address. -> -> It would be fine if I could use some twill command to do the redirect, without -> bothering which url it actually is. So, twill is *supposed* to do this automatically, and as far as I can tell it generall works -- I just put in a new test with identical content to the above, in fact. At this point it would help if you could do some detective work. If I gave you a special source distribution with a few changes (only in twill/utils.py) to enhance the debugging output, would you run it and send me that output? thanks, --titus _______________________________________________ twill mailing list [email protected] http://lists.idyll.org/listinfo/twill
