fix: xposed module guid
This commit is contained in:
parent
c11a1500cc
commit
80ba9353ee
|
|
@ -15,18 +15,20 @@ module.exports = async (ctx) => {
|
|||
const list = $('div.field-collection-view');
|
||||
|
||||
ctx.state.data = {
|
||||
title: `${title}(${ctx.params.mod})`,
|
||||
title: `${title}(${ctx.params.mod}) 更新`,
|
||||
link: link,
|
||||
item:
|
||||
list &&
|
||||
list
|
||||
.map((_, item) => {
|
||||
item = $(item);
|
||||
const version = item.find('div.field-name-field-version-number div.even').text();
|
||||
return {
|
||||
title: item.find('div.field-name-field-version-number div.even').text(),
|
||||
title: `Version ${version}`,
|
||||
description: item.find('div.field-name-field-changes').html(),
|
||||
link: link,
|
||||
pubDate: item.find('span.date-display-single').html().replace('- ', ''),
|
||||
guid: ctx.params.mod + version,
|
||||
};
|
||||
})
|
||||
.get(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue