Fix guid issue (#459)

This commit is contained in:
Kevin 2018-08-13 15:19:47 +08:00 committed by DIYgod
parent 826d3589f8
commit 2576044971
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ module.exports = async (ctx) => {
itemDesc += '\n';
});
item.description = itemDesc;
item.guid = changelog.version + changelog.createTime;
return item;
});

View File

@ -23,6 +23,7 @@ module.exports = async (ctx) => {
.nextUntil('h3')
.text();
item.link = url;
item.guid = $(this).text();
resultItem.push(item);
});