|
发表于 2014-1-10 04:50:55
|
显示全部楼层
为什么本地使用Snoopy采集网站内容,始终是真实的
IP
Referring URL
User Agent
上述参数设置:
$this->snoopy->rawheaders["X_FORWARDED_FOR"] = "127.0.0.101"; //伪装ip
$this->snoopy->referer = "http://www.only4.com"; //来源网址
$this->snoopy->agent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh- CN; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 FirePHP/0.2.1";//模拟浏览器信息
哪里出的问题??? |
|