On Thu, Nov 19, 2009 at 09:43:50AM +0100, Diez B. Roggisch wrote:
> >elinks, links, links2 and do the following.
> >1. Open a certain web page and find the first text box on the page, and
> >put this text into the form.
> >2. Press the submit button, and wait for the result page to load.
> >3. Click on the 15th link down the page.
> >
> >So, how do I do this, can anyone point me to some docs or modules that
> >may help out here?
> 
> Use the module "mechanize". It will mimic a browser, and allows you
> to navigate to pages, fill in forms & submit them.

Well, what seemed a very daunting task at first, proved to be quite
easy, after a little bit of research. Thanks very much, I've written my
script, and it works correctly, using the mechanize module.

Thanks for everyone's help

-- 
Cheers,
Dan

http://members.iinet.net.au/~ddalton/

Attachment: signature.asc
Description: Digital signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to