开发者

simplehtmldomparser - php - not reading display none elements that are shown in firebug

I am using simplehtmldomparser built on php to read content from a url.

http://simplehtmldom.sourceforge.net/manual.htm

I am trying to retrive a element with "display:none" which I can see in firebug. But that element is not shown when I retrive the dom in php.

Any reason for this? an开发者_如何学Pythond how can I solve this issue?


It is not possible to read javascript generated content using simplehtmldomparser as the php script will not execute any of the javascript in the website.

So I used imacros to extract the javascript generated content and then used simplehtmldomparser to read the required content.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜