Ruby nokogiri 中 html 解析的问题

jay_chou · July 09, 2021 · Last by jay_chou replied at July 09, 2021 · 449 hits

使用 nokogiri 可以获取当前标签的父元素吗?

nokogiri 支持 xpath "selector/parent"

这样,谢谢谢谢

jay_chou closed this topic. 09 Jul 20:49
You need to Sign in before reply, if you don't have an account, please Sign up first.