fix(route/imhcg): 修复 (#18987)

* fix imhcg router

* Update maintainers
This commit is contained in:
Zhenyu Qi 2025-05-01 11:35:56 -07:00 committed by GitHub
parent 6ff87c7d9c
commit 927513d6be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ export const route: Route = {
},
],
name: 'Engineering blogs',
maintainers: ['ZiHao256'],
maintainers: ['ZiHao256', 'qzydustin'],
handler,
url: 'infos.imhcg.cn',
};
@ -25,11 +25,11 @@ async function handler() {
const items = $('li')
.toArray()
.map((item) => {
const title = $(item).find('a.title').text();
const link = $(item).find('a.title').attr('href');
const author = $(item).find('p.author').text();
const time = $(item).find('p.time').text();
const description = $(item).find('p.text').text();
const title = $(item).find('a.article-title').text();
const link = $(item).find('a.article-title').attr('href');
const author = $(item).find('p.article-author').text();
const time = $(item).find('p.article-time').text();
const description = $(item).find('p.article-text').text();
return {
title,
link,