def download(source_url): agents = ['Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)','Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.1)','Microsoft Internet Explorer/4.0b1 (Windows 95)','Opera/8.00 (Windows NT 5.1; U; en)']
{"result": 60008,"errmsg": "service timeout or request format error,please check and try again"}https://yun.tim.qq.com/v5/tlssmssvr/pullsendstatus?sdkappid=xxxx&random=xxxx&begin_date=2018032200&%20end_date=2018032300&%20sig=xxxxxxxxxxxx&time=152
当我设置Macbook Pro时,我想我把我的主机名改成了我的名字Tristan。我正在尝试使用套接字和调用:它没有向我显示错误socket.gaierror: [Errno 8] nodename nor servname provided, or not knownsocket.gethostname('Tristan.local')
它实际上会打印出正确的ip地址。我朋友的Mac没有更改主机名,它会返回她所在网络的地址。如何将我