Fix guid issue (#459)
This commit is contained in:
parent
826d3589f8
commit
2576044971
|
|
@ -38,6 +38,7 @@ module.exports = async (ctx) => {
|
|||
itemDesc += '\n';
|
||||
});
|
||||
item.description = itemDesc;
|
||||
item.guid = changelog.version + changelog.createTime;
|
||||
return item;
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ module.exports = async (ctx) => {
|
|||
.nextUntil('h3')
|
||||
.text();
|
||||
item.link = url;
|
||||
item.guid = $(this).text();
|
||||
resultItem.push(item);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue