ReaJason / xhs

基于小红书 Web 端进行的请求封装。https://reajason.github.io/xhs/
MIT License
1.08k stars 298 forks source link

下载笔记时,图片下载失败 #80

Closed GaoHaHa-IronMan closed 8 months ago

GaoHaHa-IronMan commented 9 months ago

python版本:3.11 xhs版本:0.2.7 源码: if name == 'main': xhs_client.save_files_from_note_id("64dc3e60000000000103fba4", "/PycharmProjects/pythonProject/download")

错误: raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://sns-img-qn.xhscdn.com/1040g0k030nqoqi15gm005omefsa5b5vgnn9pi7g?imageView2/format/png

ReaJason commented 9 months ago

感谢反馈,可能是无水印图片解析算法有问题了有时间我看看

ReaJason commented 8 months ago

v0.2.9 修复了这个问题,麻烦更新一下,再次感谢反馈💐

pip install xhs==0.2.9
GaoHaHa-IronMan commented 8 months ago

v0.2.9 修复了这个问题,麻烦更新一下,再次感谢反馈💐

pip install xhs==0.2.9

我试0.2.9还是无法下载,0.2.8可以成功下载。