diff --git a/lib/routes/scitechvista/index.ts b/lib/routes/scitechvista/index.ts index 863e0b0e0..1709b45f4 100644 --- a/lib/routes/scitechvista/index.ts +++ b/lib/routes/scitechvista/index.ts @@ -57,7 +57,7 @@ async function handler(): Promise { const language: string = $('html').attr('lang') || 'zh-TW'; const articleNodes = $('div.kf-diagramtext-list > div.kf-diagramtext-col').toArray(); - const items: DataItem[] = (articleNodes + const items: DataItem[] = articleNodes .map((colEl) => { const node = $(colEl); const anchor = node.find('a[href*="/Article/C000003/detail"]').first(); @@ -88,7 +88,7 @@ async function handler(): Promise { image, } as DataItem; }) - .filter(Boolean)) as DataItem[]; + .filter(Boolean) as DataItem[]; return { title: `${namespace.name} - 最新文章`,