diff --git a/lib/router.js b/lib/router.js
index 0f3c0fefc9..1b2f3b141e 100644
--- a/lib/router.js
+++ b/lib/router.js
@@ -2162,7 +2162,7 @@ router.get('/coronavirus/dxy', require('./routes/coronavirus/dxy'));
router.get('/coronavirus/scmp', require('./routes/coronavirus/scmp'));
router.get('/coronavirus/nhc', require('./routes/coronavirus/nhc'));
router.get('/coronavirus/mogov-2019ncov/:lang', require('./routes/coronavirus/mogov-2019ncov'));
-router.get('/coronavirus/qq/fact', require('./routes/coronavirus/qq-fact'));
+router.get('/coronavirus/qq/fact', require('./routes/tencent/factcheck'));
// 南京林业大学教务处
router.get('/njfu/jwc/:category?', require('./routes/universities/njfu/jwc'));
diff --git a/lib/routes/coronavirus/qq-fact.js b/lib/routes/coronavirus/qq-fact.js
deleted file mode 100644
index dca2e7f860..0000000000
--- a/lib/routes/coronavirus/qq-fact.js
+++ /dev/null
@@ -1,42 +0,0 @@
-const got = require('@/utils/got');
-const cheerio = require('cheerio');
-
-module.exports = async (ctx) => {
- const response = await got({
- method: 'get',
- url: 'https://vp.fact.qq.com/loadmore?artnum=0&page=0',
- headers: {
- Referer: 'https://vp.fact.qq.com/home',
- },
- });
-
- const data = response.data.content;
-
- const items = await Promise.all(
- (data || []).map(async (item) => {
- const link = `https://vp.fact.qq.com/article?id=${item.id}`;
- const simple = {
- title: `【${item.explain}】${item.title}`,
- description: `${item.abstract}`,
- pubDate: new Date(item.date).toUTCString(),
- author: item.author,
- link: link,
- };
-
- const details = await ctx.cache.tryGet(link, async () => {
- const response = await got.get(link);
- const $ = cheerio.load(response.data);
- return {
- description: `
${$('.check_content_points').html()}`,
- };
- });
- return Promise.resolve(Object.assign({}, simple, details));
- })
- );
-
- ctx.state.data = {
- title: '新型冠状病毒肺炎实时辟谣-腾讯新闻',
- link: 'https://vp.fact.qq.com/home',
- item: items,
- };
-};
diff --git a/lib/routes/tencent/factcheck/index.js b/lib/routes/tencent/factcheck/index.js
index 7ecbf620ac..2fc7ff1902 100644
--- a/lib/routes/tencent/factcheck/index.js
+++ b/lib/routes/tencent/factcheck/index.js
@@ -2,61 +2,41 @@ const got = require('@/utils/got');
const cheerio = require('cheerio');
module.exports = async (ctx) => {
- const url = 'https://vp.fact.qq.com/loadmore?artnum=0&page=0&callback=';
+ const response = await got({
+ method: 'get',
+ url: 'https://vp.fact.qq.com/loadmore?artnum=0&page=0',
+ headers: {
+ Referer: 'https://vp.fact.qq.com/home',
+ },
+ });
- const list_res = await got.get(url);
- const list = list_res.data.content;
+ const data = response.data.content;
- const parseContent = (htmlString) => {
- const $ = cheerio.load(htmlString);
- let content = cheerio.load('