parent
6ff87c7d9c
commit
927513d6be
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue