diff --git a/lib/v2/gov/mot/index.js b/lib/v2/gov/mot/index.js index 9081f43c57..c6908b7796 100644 --- a/lib/v2/gov/mot/index.js +++ b/lib/v2/gov/mot/index.js @@ -32,7 +32,7 @@ module.exports = async (ctx) => { items = await Promise.all( items.map((item) => ctx.cache.tryGet(item.link, async () => { - if (/\.gov\.cn/.test(item.link)) { + if (/\.gov\.cn/.test(item.link) && item.link.endsWith('.html')) { const { data: detailResponse } = await got(item.link); const content = cheerio.load(detailResponse);