xpath获取第1个以后的所有标签内容

经常会在爬虫去标题时使用,之前写过,但是同事问我, 我没有从博客中收录,最后从代码中找到了才发给了他,所以这次补充到博客中。

拿table标签举例(xpath中的内容)

"table/tr[position()>1]"

おすすめ

転載: blog.csdn.net/qq_38403590/article/details/120494199