style: auto format
This commit is contained in:
@@ -27,7 +27,6 @@ export const route: Route = {
|
||||
name: '资讯要闻',
|
||||
maintainers: ['ShabbyWhineYear'],
|
||||
handler: async () => {
|
||||
|
||||
const response = await ofetch('https://www.chnmuseum.cn/zx/xingnew/');
|
||||
const $ = load(response);
|
||||
|
||||
@@ -41,7 +40,7 @@ export const route: Route = {
|
||||
return {
|
||||
title: a.attr('title') || a.text(),
|
||||
link: new URL(a.attr('href'), 'https://www.chnmuseum.cn/zx/xingnew/').href,
|
||||
pubDate: timezone(parseDate(dateText, 'YYYY/MM/DD'), +8),
|
||||
pubDate: timezone(parseDate(dateText, 'YYYY/MM/DD'), +8),
|
||||
// description: a.attr('title') || a.text(),
|
||||
};
|
||||
});
|
||||
|
||||
@@ -24,7 +24,6 @@ export const route: Route = {
|
||||
name: '资讯专题',
|
||||
maintainers: ['ShabbyWhineYear'],
|
||||
handler: async () => {
|
||||
|
||||
const response = await ofetch('https://www.chnmuseum.cn/zx/xwzt/');
|
||||
const $ = load(response);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user