|
@@ -1244,7 +1244,7 @@ class WXBot:
|
|
|
'synckey': self.sync_key_str,
|
|
|
'_': int(time.time()),
|
|
|
}
|
|
|
- url = 'https://' + self.sync_host + '.weixin.qq.com/cgi-bin/mmwebwx-bin/synccheck?' + urllib.urlencode(params)
|
|
|
+ url = 'https://' + self.sync_host + '.wx.qq.com/cgi-bin/mmwebwx-bin/synccheck?' + urllib.urlencode(params)
|
|
|
try:
|
|
|
r = self.session.get(url, timeout=60)
|
|
|
r.encoding = 'utf-8'
|