我尝试用这段代码从这个站点中提取html数据,但结果总是空的。 https://www.seloger.com/annonces/achat/appartement/montpellier-34/alco/140769091.htm?ci=340172&idtt=2,5&idtypebien=2,1&naturebien=1,2,4&tri=initial&bd=ListToDetail
def parse(self, response):
content = response.css(".agence-adresse::text").extract()
yield{'adresse =' :content}
试试这个css。你知道吗
相关问题 更多 >
编程相关推荐