HI,
I am working with simple_html_dom parsing script but having a problem.So need some help.
Our script is extracting html contents from an URL using simple_html_dom parser script.
But now, the main content page is coming after few seconds, during that delay there is an ad page is coming, so our script is extracting content of that ad page every time.
. Suggest me something that somehow I can put delay or avoid this ad page to get the useful content from main content page only.
Thanks in advance for your help.
HTML SOM parsing in php
Moderator: General Moderators
Re: HTML SOM parsing in php
Are you sure that's happening? Ads are generally loaded through Javascript and your PHP code won't do that.