PHP:
include "simple_html_dom.php";
$html = file_get_html( "http://phpclub.ru/talk/members/" );
foreach ($html->find('ol.memberList a.username') as $user){
$userName = $user->plaintext;
$query = urlencode($userName. ' говно site:phpclub.ru');
$content = file_get_contents('http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q='.$query);
$resultCount = json_decode($content)->responseData->cursor->resultCount;
echo $user->plaintext."\t".$resultCount."\n";
}
Код:
Фанат 67
tony2001 19
fixxxer 149
SiMM 10
admin 39
zerkms 33
AmdY 132
Mr_Max 30
Alexandre 33
dimagolov 17
c0dex 69
grigori 66
Вурдалак 95
флоппик 86
baev 22
HraKK 55
WMix 39
Redjik 70
Кром 3
Wicked 13