-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LivePhoto 没有爬取到,已经添加了cookie #448
Comments
2024-07-11 19:44:02,082 - ERROR - 'large' 看日志貌似这里有问题? |
看起来没有获取到large的数据,应该是和图片相关,和LivePhoto没关系。我现在无法调试,不确定什么情况,您可以更换cookie,也许它失效了,不确定。 |
试了更换 cookie,也去验证了 cookie 的有效性,还是无法将 livephoto 下载下来,我想应该不是 cookie 是问题,我尝试在源码里 get_pics 函数打印获取到的数据发现是有爬取到 livephoto链接,链接打开是有效可以看到livepohot的。(我是个小白,请大神指点一下,谢谢) 打印获取到的代码: |
看上面的内容,live photo信息在live_photo后面,应该修改weibo.py的get_live_photo方法,获取live_photo后面的内容。图片问题参考dataabc/weibo-search#473 。 |
感谢大佬。
|
是直接把整个函数都改成只有这三行吗? |
def 是定义函数的不能删除,把定义函数下面的代码替换成这两行 |
No description provided.
The text was updated successfully, but these errors were encountered: