John,

"J" == John  wrote:

 J> I have to write a spyder for a webpage that uses html + javascript. I
 J> had it written using mechanize but the authors of the webpage now use a
 J> lot of javascript. Mechanize can no longer do the job.  Does anyone
 J> know how I could automate my spyder to understand javascript? Is there
 J> a way to control a browser like firefox from python itself? How about
 J> IE?  That way, we do not have to go thru something like mechanize?

Up to my knowledge, there no way to test javascript but to fire up a
browser.

So, you might check Selenium (http://www.openqa.org/selenium/) and its
python module.

-- 
Andrey V Khavryuchenko            
Software Development Company http://www.kds.com.ua/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to