You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$dom = hQuery::fromUrl('http://example.com');
$content = $dom->find('.content');
$content->exclude('.panel');
$content->html; //final html still has the <div class="panel"> inside it.
Thank you in advance!
The text was updated successfully, but these errors were encountered:
wislem
changed the title
How does the exlude() method work?
Is it possible to remove elements (or exclude them before printing)?
May 8, 2016
I'd love to have the time to contribute since your package looks really promising. But I'm currently being under the pressure of a project that needs a fast and efficient php web scraper.
How does the
exlude()
method work?I'm trying this:
Thank you in advance!
The text was updated successfully, but these errors were encountered: