style: auto format

This commit is contained in:
github-actions[bot]
2023-11-06 13:29:59 +00:00
parent 68e33dcec7
commit f421736df4
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -8,8 +8,8 @@ module.exports = async (ctx) => {
const link = `${host}/tx/${id}/list.htm`;
const response = await got(link);
const $ = cheerio.load(response.data);
const typeTitle = $("span.Column_Anchor").text();
const title = $("li.col_title h2").text();
const typeTitle = $('span.Column_Anchor').text();
const title = $('li.col_title h2').text();
const list = $('ul.wp_article_list li')
.toArray()
@@ -36,7 +36,7 @@ module.exports = async (ctx) => {
);
ctx.state.data = {
title: `信息科学与工程学院团学工作 - ${typeTitle}${title === typeTitle ? "" : title}`,
title: `信息科学与工程学院团学工作 - ${typeTitle}${title === typeTitle ? '' : title}`,
description: '中国海洋大学信息科学与工程学院团学工作',
link,
item: out,
+2 -2
View File
@@ -18,8 +18,8 @@ module.exports = {
title: '信息科学与工程学部团学工作',
docs: 'https://docs.rsshub.app/routes/university#zhong-guo-hai-yang-da-xue-xin-xi-ke-xue-yu-gong-cheng-xue-yuan-tuan-xue-gong-zuo',
source: ['/tx/:id/list.htm'],
target: '/ouc/it/tx/:id'
}
target: '/ouc/it/tx/:id',
},
],
jwc: [
{