Input 获取Scrapy中的输入值

Input 获取Scrapy中的输入值,input,scrapy,web-crawler,scrapy-spider,Input,Scrapy,Web Crawler,Scrapy Spider,我在我的网页中有一个与输入一起工作的星级([参见此页][1]) 现在,我想用Scrapy crawler对输入值进行爬网,请帮助我。这一个应该为您提供正确的方向: response.xpath('//input[contains(@class,'rating')]/@value') 你到底有什么问题?你试过什么?你熟悉XPath吗?

我在我的网页中有一个与输入一起工作的星级([参见此页][1])


现在,我想用Scrapy crawler对输入值进行爬网,请帮助我。

这一个应该为您提供正确的方向:

response.xpath('//input[contains(@class,'rating')]/@value')

你到底有什么问题?你试过什么?你熟悉XPath吗?