DIYgod / RSSHub

🧡 Everything is RSSible
https://docs.rsshub.app
MIT License
33.63k stars 7.52k forks source link

酷安图片无法加载 #16715

Closed yitong2333 closed 1 month ago

yitong2333 commented 2 months ago

路由地址

/coolapk/huati/:tag
/coolapk/dyh/:dyhId
/coolapk/hot/:type?/:period?
/coolapk/toutiao/:type?
/coolapk/user/:uid/dynamic

完整路由地址

/coolapk/huati/:tag
/coolapk/dyh/:dyhId
/coolapk/hot/:type?/:period?
/coolapk/toutiao/:type?
/coolapk/user/:uid/dynamic

相关文档

https://docs.rsshub.app/routes/social-media#%E9%85%B7%E5%AE%89

预期是什么?

希望在rss查看器里能看到预览的图片

实际发生了什么?

图片显示为损坏状态,且无法加载 QQ_1726125964606

部署

RSSHub 演示 (https://rsshub.app)

部署相关信息

No response

额外信息

这不是重复的 issue

github-actions[bot] commented 2 months ago
Searching for maintainers:

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake. 如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。

github-actions[bot] commented 2 months ago
Searching for maintainers:

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake. 如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。

github-actions[bot] commented 2 months ago
Searching for maintainers:

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake. 如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。

yitong2333 commented 2 months ago

我已经更新了Issue

xizeyoupan commented 2 months ago

Request头中Accept字段需要包含image且不能以image/开头

MuXia-0326 commented 1 month ago

遇到这个问题很久了,不知道什么时候能修复

yitong2333 commented 1 month ago

俺也一样

Mossia @.***> 于 2024年10月10日周四 11:27写道:

遇到这个问题很久了,不知道什么时候能修复

— Reply to this email directly, view it on GitHub https://github.com/DIYgod/RSSHub/issues/16715#issuecomment-2403863908, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU5ZYT3MPFZFRPHF6MN6WGDZ2XX2VAVCNFSM6AAAAABOCQ6HSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBTHA3DGOJQHA . You are receiving this because you authored the thread.Message ID: @.***>

pseudoyu commented 1 month ago

still exists? or do you try in different RSS reader?

i found image link in /coolapk is in the format like http://image.coolapk.com/feed/2024/1019/11/1080570_80352763_7676_4085_695@2160x3780.jpeg and it's valid.

xizeyoupan commented 1 month ago

目前的一个解决办法是将ALLOW_USER_HOTLINK_TEMPLATE环境变量设置为true ,然后配置image_hotlink_template 。见多媒体处理。这里提供一个转换工具,仅对上述路由测试,建议自行部署。使用时对订阅链接加上参数即可。

例如 /coolapk/hot?image_hotlink_template=http://your-proxy-url/api?url=${href_ue}