Help parsing a page with python

Simon Brunning simon at brunningonline.net
Wed Jan 27 06:51:05 EST 2010


2010/1/27 mierdatutis mi <mmm286 at gmail.com>:
> Those videos are generated by javascript.
> There is some parser with python for javascript???

There is <http://github.com/davisp/python-spidermonkey>, but
simulating the whole context of a browser is going to be a horror.

You are probably far better off automating a real browser. WebDriver
(<http://bit.ly/crAEPu>) has Python bindings these days. It's
primarily intended for functional testing, but it might be a good fit
here too.

-- 
Cheers,
Simon B.



More information about the Python-list mailing list