主要修复了两个问题

1. 腾讯云的更新日志界面有重复数据,之前没有找对特征,过滤出来两份更新日志
2. Bugly 源没有链接,ifttt 不能订阅
This commit is contained in:
Kevin 2018-08-13 23:39:27 +08:00 committed by DIYgod
parent 5573890cdb
commit f17a8016d9
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ module.exports = async (ctx) => {
});
item.description = itemDesc;
item.guid = changelog.version + changelog.createTime;
item.link = webUrl;
return item;
});

View File

@ -16,7 +16,7 @@ module.exports = async (ctx) => {
const $ = cheerio.load(data);
const resultItem = [];
$('#docArticleContent h3').each(function() {
$('.J-mainDetail #docArticleContent h3').each(function() {
const item = {};
item.title = $(this).text();
item.description = $(this)