请帮我改一下我的代码选择器。用php和ganon解析html
我尝试从http://www.plati.ru/asp/seller.asp?id_s=119777
页得到sellen名称这是必须AMEDIA,但我不能得到它。
这是我的代码
$result = curl_exec($ch);
curl_close($ch);
$html = str_get_dom($result);
foreach ($html('table tr td tr td') as $element) {
$seller_name = $element->getPlainText();
}
也许这将是:body table tbody tr td table tbody tr td? – 2014-09-05 13:29:10