I need to get some values of HTML web page. I want only the value of value
of input
tag filtered by name or id or class(if supports XPath is welcome too). It's very simple thing, for this reason I'm looking for a "non-complex" parser, because I want no tons of code in my program(I'd used one like this) it must be free, light and fast.
问问题
145 次
1 回答
1
您可以使用 libxml2。尽管它的名字它包含一个 HTML 解析器HTML Parser 模块 - libxml2。
我使用了 python 绑定,它很快并且支持 XPath。
于 2012-06-16T14:11:53.023 回答