This form is submitted by javascript.
>
> Need your help to fill the form and login to that site using python
> +mechanize.
>
> My code is pasted here.
>
> http://pastebin.com/f339461b4
>
> Mechanize doesn't handle javascript.
http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize/FAQ.pod#I_have_this_web_page_that_has_JavaScript_on_it,_and_my_Mech_program_doesn%27t_work
.

BTW, there is a based program that wraps Mechanize called twill and it's
easier to use.
Twill: http://twill.idyll.org/

You can Selenium or Windmill to record form based logins using their GUI
recorders and save it as a python script that can be replayed. Windmill is
mostly python.

Ramaswamy
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to