在文档和SO文章中,只有关于如何使用此命名法排除CSS类的引用: response.css("div[id='content']:not([class*='infobox'])") 然而,我想要实现的是排除一个节点,甚至是多个节点,比如<li>元素中的<span>和<div>元素。is the string I want to scrape
</li>
i am trying to scrape yellow page by using scrapy and python getting all other result right but notgetting the business name 尝试更改xpath,甚至尝试css选择器,但没有得到正确的结果