On Thu, Apr 30, 2009 at 03:03:49AM -0500, Akafubu Kibombo wrote: -> Example: -> -> >> add_extra_header User-Agent "Mozilla/5.0 (Windows; U; Windows NT 5.1; -> en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6" -> current page: *empty page* -> >> go http://www.digg.com -> ==> at http://digg.com/ -> current page: http://digg.com/ -> >> showforms -> current page: http://digg.com/ -> -> -> No matter what site, immediately after typing 'showforms', no forms are -> show, just "current page: <url>". Can someone please help me troubleshoot -> the problem?
Hi AK, what version of twill are you using for this? A few suggestions: - use the 'agent' command to set the agent; I believe add_extra_header adds an extra header on top of the one already set by twill; - make sure that's a valid agent string. I'm getting some weird parse errors on Linux when I try it out. cheers, --titus -- C. Titus Brown, [email protected] _______________________________________________ twill mailing list [email protected] http://lists.idyll.org/listinfo/twill
