|
@@ -479,7 +479,7 @@ class Wechatext
|
|
|
$send_snoopy = new Snoopy;
|
|
|
$send_snoopy->rawheaders['Cookie']= $this->cookie;
|
|
|
$send_snoopy->referer = "https://mp.weixin.qq.com/cgi-bin/getmessage?t=wxm-message&lang=zh_CN&count=50&token=".$this->_token;
|
|
|
- $url = "https://mp.weixin.qq.com/cgi-bin/getheadimg?fakeid=$fakeid&token=".$this->_token."&lang=zh_CN";
|
|
|
+ $url = "https://mp.weixin.qq.com/misc/getheadimg?fakeid=$fakeid&token=".$this->_token."&lang=zh_CN";
|
|
|
$send_snoopy->fetch($url);
|
|
|
$result = $send_snoopy->results;
|
|
|
$this->log('Head image:'.$fakeid.'; length:'.strlen($result));
|