关于python:python-获取-xpath-当前标签名

1次阅读

共计 54 个字符,预计需要花费 1 分钟才能阅读完成。

print(table.xpath('./following-sibling::*[1]')[0].tag)
正文完
 0