find('h3>a')->texts(); //获取搜索结果标题列表 //$links = $ql->find('h3>a')->attrs('href'); //获取搜索结果链接列表 //print_r($titles); //print_r($links); //die(); $times = 3; $wd = $_REQUEST['wd']; if (!$wd) { ?>