mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-16 16:44:53 +08:00
fix(route): douban 404 from resharing a deleted status (#7409)
如果转发的广播被删除了,就不应当再去请求被删除的原广播了……否则就会抛回404崩溃给你
This commit is contained in:
@@ -433,7 +433,7 @@ async function getFullTextItems(ctx, items) {
|
||||
cache = await ctx.cache.get(url);
|
||||
if (cache) {
|
||||
item.status.reshared_status.text = cache;
|
||||
} else {
|
||||
} else if (tryFixStatus(item.status.reshared_status).isFixSuccess) {
|
||||
const {
|
||||
data: { text },
|
||||
} = await got({ url, headers });
|
||||
|
||||
Reference in New Issue
Block a user