fix: 懂球帝 API 返回地址不一致的问题 (#5325)

This commit is contained in:
Henry Wang 2020-08-01 16:44:34 +01:00 committed by GitHub
parent 5ce2cf8a27
commit 394ded25e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module.exports = async (ctx) => {
const out = await Promise.all(
data.map(async (item) => {
const title = item.title;
const itemUrl = item.share;
const itemUrl = `https://www.dongqiudi.com/news/${item.id}.html`;
const cache = await ctx.cache.get(itemUrl);
if (cache) {