Categories
How to parse blocks by class?
Hello. There are blocks on the page, they can have the class cl1 and cl2 when parsing one class wrote so $dom->find("div[class=cl1]")you can somehow parse with two classes?
$dom->find("div[class=cl1]")
Answer the question
In order to leave comments, you need to log in
https://github.com/imangazaliev/didom:$document->find('div.class1.class2');
$document->find('div.class1.class2');
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question