0
根据网址列表像这样的:获取下一个页面的url scrapy
<a href="?resultpage=3&p_department=RL&propertyAddress=&propertyType=&minimumBedrooms=&maximumBedrooms=&minimumPrice=&minimumRentFrequency=pcm&maximumPrice=&maximumRentFrequency=pcm">3</a>
<a href="?resultpage=2&p_department=RL&propertyAddress=&propertyType=&minimumBedrooms=&maximumBedrooms=&minimumPrice=&minimumRentFrequency=pcm&maximumPrice=&maximumRentFrequency=pcm" title="Next">Next ></a>
如何我只得到一个具有属性的一个:标题=“下一步”>下一步?
使用:
//@href
值“标题=”下一步“>下一步”是输,所以它不能被使用的过滤器的URL。