Script that Navigates Page needs Javascript Functionality

Dave Borne dborne at gmail.com
Mon Aug 6 09:30:32 EDT 2007


> in order to view the results I need I need python to "navigate to"
> this Javascript link:
> javascript:__doPostBack('ctl00$cpMain$pagerTop','4')  This basically
> translates into "go to page 4."
> I read the posts on this group, and from what I understand, the
> functionality I need is with simplejson? If so, what is the syntax i
> would use to execute that Javascript?
> Or am I completely off base with using simplejson altogether?

I've been meaning to look into this library for interfacing with
Mozilla's spidermonkey javascript engine:
http://wwwsearch.sourceforge.net/python-spidermonkey/

It sounds like it might do what you want, but I'm not sure how much
work it would require.

-Dave



More information about the Python-list mailing list