fix: remove unused config, obtain fulltext of BUPT portal (#3367)

This commit is contained in:
RicardoMing
2019-11-04 14:25:36 +08:00
committed by DIYgod
parent 4628ad02fa
commit ea292edd8c
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -95,10 +95,6 @@ const calculateValue = () => {
chuiniu: {
member: envs.CHUINIU_MEMBER,
},
bupt: {
username: envs.BUPT_USERNAME,
password: envs.BUPT_PASSWORD,
},
};
};
calculateValue();
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = async (ctx) => {
value.forEach((item) => {
out.push({
title: item.title,
description: item.desc,
description: item.text,
pubDate: new Date(item.created * 1000).toUTCString(),
link: `https://webapp.bupt.edu.cn/extensions/wap/news/detail.html?id=${item.id}&classify_id=tzgg`,
author: item.author,