【发布时间】:2010-12-24 19:32:10
【问题描述】:
找到了这个http://simplehtmldom.sourceforge.net/,但是没有成功
extracting this page http://php.net/manual/en/function.curl-setopt.php
and parse it to plain html, it failed and returned a partial html page
这就是我想做的, 转到一个 html 页面并获取单个组件(层次结构中所有 div 和 p 的内容) 我喜欢 simplehtmldom 的特性,需要任何擅长所有代码(最好和最差)的解析器。
【问题讨论】: