如何表达
item[field_name]=response.xpath('//*[@calss="title name "]/a/span').xpath('string(.)')
为什么要这么做?你知道吗
l=ItemLoader(item=ConccreseItem(),response=response)
l.add_xpath('field_name','//*[@class="title name"]/a/span')
如何将.string('.')添加到第二个表达式中?你知道吗
Tags:
目前没有回答
相关问题 更多 >
编程相关推荐