Fellas!
I have one nasty page to parse but can\'t figure out how to extract correct data blocks from it using Simple HTML DOM, because it has no CSS child selector suppo
Simple example with php DOM:
$dom = new DomDocument; $dom->loadHtml(' a b c '); $xpath = new DomXpath($dom); foreach ($xpath->query('//ul[@class="ul-block"]/li') as $liNode) { echo $liNode->nodeValue, ''; }