jeremiah.dodds at gmail.com
Thu Mar 19 11:38:33 CET 2009
On Thu, Mar 19, 2009 at 1:25 AM, Carl <tg2.user at gmail.com> wrote:
> Probably the easiest thing is to actually use a browser. There are
> many examples of automating a browser via Python. So, you can
> afflicted page, let the JS run and grab the page source. As an added
> bonus you can later interact with the page by programatically, filling
> form fields, selecting options from lists and clicking buttons.
> HTH, Carl
I've been using the python port of mechanize (specifically
mechanize.browser) for web automation, it's rather nice.
it's just to generate a url or post data - in which case I can just read the
livehttpheaders to find out what I need to be sending.
This obviously doesn't cover every single case, but it works pretty fine
dom interface in python - but it's hard, hard stuff.
I'd love to even have the time to read the ECMAScript spec enough to have
to one of the current attempts at doing so.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list