fix: 修复3DM新闻的标题,添加了分类字段 (#3185)
This commit is contained in:
parent
90281ca4c5
commit
6cfa9ae60e
|
|
@ -23,6 +23,12 @@ module.exports = async (ctx) => {
|
|||
}
|
||||
const title = $(item)
|
||||
.find('.text')
|
||||
.find('.bt')
|
||||
.text();
|
||||
|
||||
const category = $(item)
|
||||
.find('.text')
|
||||
.find('.bq')
|
||||
.find('a')
|
||||
.text();
|
||||
|
||||
|
|
@ -40,6 +46,7 @@ module.exports = async (ctx) => {
|
|||
|
||||
const single = {
|
||||
title: title,
|
||||
category: category,
|
||||
description: description,
|
||||
pubDate: time.toUTCString(),
|
||||
link: itemUrl,
|
||||
|
|
|
|||
Loading…
Reference in New Issue