但谷歌只允许我4次和5次,之后我收到此消息而不是搜索结果。
要继续,请输入以下字符: 请启用图片 这个页面 我们的系统检测到来自您计算机网络的异常流量。此页面检查是否确实是您发送请求,而不是机器人。为什么会这样?
我正在使用PHP
for($i=0; $i<=5; $i++) {
$html = new DOMDocument();
@$html->loadHtmlFile('http://www.google.com/search?q='.$keywords.'&num=100&start='.$i);
$xpath = new DOMXPath($html);
//further operation here
}
有没有办法避免谷歌显示此消息?