请求case错误如下:应该是签名验证没有通过
(python3) [root@VM-8-17-centos xhs]# python usage.py
Traceback (most recent call last):
File "/www/python3/xhs/usage.py", line 24, in
note_info = xhs_client.get_note_by_id("63db8819000000001a01ead1")
File "/www/python3/lib/python3.9/site-packages/xhs/core.py", line 199, in get_note_by_id
res = self.post(uri, data)
File "/www/python3/lib/python3.9/site-packages/xhs/core.py", line 187, in post
return self.request(
File "/www/python3/lib/python3.9/site-packages/xhs/core.py", line 175, in request
raise DataFetchError(data)
xhs.exception.DataFetchError: {'code': -1, 'success': False}
请求case错误如下:应该是签名验证没有通过 (python3) [root@VM-8-17-centos xhs]# python usage.py Traceback (most recent call last): File "/www/python3/xhs/usage.py", line 24, in
note_info = xhs_client.get_note_by_id("63db8819000000001a01ead1")
File "/www/python3/lib/python3.9/site-packages/xhs/core.py", line 199, in get_note_by_id
res = self.post(uri, data)
File "/www/python3/lib/python3.9/site-packages/xhs/core.py", line 187, in post
return self.request(
File "/www/python3/lib/python3.9/site-packages/xhs/core.py", line 175, in request
raise DataFetchError(data)
xhs.exception.DataFetchError: {'code': -1, 'success': False}