下载微博图片和视频

一键下载一条微博中的图片,文件名包含该微博的路径.xxx_wb_uid_wid,可恢复为 https://weibo.com/uid/wid

< Feedback on 下载微博图片和视频

Câu hỏi/Bình luận

§
Posted: 22-02-2019

最近好像失效了,被CORS policy屏蔽

测试:https://www.weibo.com/2441268362/HhxOC0UHM

控制台错误:

Access to fetch at 'https://wx1.sinaimg.cn/large/9182cc8agy1g0cz7ucon0j20u017ahdu.jpg' from origin 'https://www.weibo.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains the invalid value ''. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

FlaoTác giả
§
Posted: 26-03-2019

有些一直有这个问题

§
Posted: 27-03-2019

@Flao 说道: 有些一直有这个问题

@connect 能避免CORS问题

§
Posted: 27-03-2019
Edited: 27-03-2019

添加

// @connect      *://*.sinaimg.cn

有效!

FlaoTác giả
§
Posted: 02-04-2019

感谢

§
Posted: 08-04-2019

@fireattack said: 添加

// @connect      *://*.sinaimg.cn

有效!

貌似新版本更新加入了这个属性,但是还是被CORS阻拦了

§
Posted: 08-04-2019

@"hao jacy" said:

@fireattack said: 添加

// @connect      *://*.sinaimg.cn

有效!

貌似新版本更新加入了这个属性,但是还是被CORS阻拦了

我使用我LZ那条微博测试正常,能否提供一条无法正常下载的测试。

Post reply

Đăng nhập để bình luận