标签: python xpath
{{1}}
text = i.xpath('./ following-sibling :: p [following-sibling ::“%s”]]%next_h4')
和
text = i.xpath('./ following-sibling :: p [following-sibling :: $ nex]]',$ nex = next_h4)