Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果路径可以包含子节点(如<b>)并且您需要所有子节点中的文本,请使用string:
<b>
string
hxs.select("string(//table[@class='result']//font/span[@class='g'])").extract()