0

I am very new to "scrapy", i am scrapping a website and in that i had some anchor tags which consists of href attributes with java script SubmitForm functions. When i clicked that javascript function a page is opening from which i need to fetch data.I used Xpath and found href for particular anchor tags but unable to execute that href attribute that contains javascript function. Can anyone tell me how to execute javascript Submit functions of anchor tags in scrapy python.

4

1 回答 1

0

Scrapy can not excute javascript. Selenium can: http://seleniumhq.org/docs/03_webdriver.html

于 2012-05-18T12:09:12.680 回答