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.
精彩评论