From 5b772a6894d3d6e635d128a629aca4f477102edb Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 8 Mar 2024 04:43:14 +0000
Subject: [PATCH] style: auto format
---
lib/routes/qust/jw.ts | 24 ++++++++++++------------
website/docs/routes/university.mdx | 12 ++++++------
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/lib/routes/qust/jw.ts b/lib/routes/qust/jw.ts
index cdfed631608768..eb8e7f8eb8c764 100644
--- a/lib/routes/qust/jw.ts
+++ b/lib/routes/qust/jw.ts
@@ -9,16 +9,18 @@ export default async (ctx) => {
url: `${baseUrl}jwtz.htm`,
});
const $ = load(response.data);
- const items = $('.winstyle60982 tr a.c60982').map((_, element) => {
- const linkElement = $(element);
- const itemTitle = linkElement.text().trim();
- const path = linkElement.attr('href');
- const itemUrl = path.startsWith('http') ? path : `${baseUrl}${path}`;
- return {
- title: itemTitle,
- link: itemUrl,
- };
- }).get();
+ const items = $('.winstyle60982 tr a.c60982')
+ .map((_, element) => {
+ const linkElement = $(element);
+ const itemTitle = linkElement.text().trim();
+ const path = linkElement.attr('href');
+ const itemUrl = path.startsWith('http') ? path : `${baseUrl}${path}`;
+ return {
+ title: itemTitle,
+ link: itemUrl,
+ };
+ })
+ .get();
ctx.set('data', {
title: '青岛科技大学 - 教务通知',
@@ -26,5 +28,3 @@ export default async (ctx) => {
item: items,
});
};
-
-
diff --git a/website/docs/routes/university.mdx b/website/docs/routes/university.mdx
index e0ba11e791ac84..53fa79c1ccad0b 100644
--- a/website/docs/routes/university.mdx
+++ b/website/docs/routes/university.mdx
@@ -2233,6 +2233,12 @@ jsjxy.hbut.edu.cn 证书链不全,自建 RSSHub 可设置环境变量 NODE\_TL
+## 青岛科技大学 {#qing-dao-ke-ji-da-xue}
+
+### 教务通知 {#qing-dao-ke-ji-da-xue-jiao-wu-tong-zhi}
+
+
+
## 清华大学 {#qing-hua-da-xue}
### 清华大学校内信息发布平台 {#qing-hua-da-xue-qing-hua-da-xue-xiao-nei-xin-xi-fa-bu-ping-tai}
@@ -3699,9 +3705,3 @@ jsjxy.hbut.edu.cn 证书链不全,自建 RSSHub 可设置环境变量 NODE\_TL
| -------- | -------- | -------- | -------- |
| results | papers | writings | policy |
-
-## 青岛科技大学 {#qing-dao-ke-ji-da-xue}
-
-### 教务通知 {#qing-dao-ke-ji-da-xue-jiao-wu-tong-zhi}
-
-