Files
RSSHub/lib/v2/zaobao/interactive.js
Shun Zi 573c38933b fix(route): zaobao from hk again, refactor zaobao to v2 standard (#8342)
* fix: zaobao from hk (again)

* docs: remove zaobao 早报现在

* feat: adapt route 联合早报 to v2 standard

* feat: zaobao: use art template
2022-02-02 03:20:39 +08:00

16 lines
533 B
JavaScript

const { parseList } = require('./util');
const baseUrl = 'https://www.zaobao.com';
module.exports = async (ctx) => {
const sectionLink = `/interactive-graphics`;
const { resultList } = await parseList(ctx, sectionLink);
ctx.state.data = {
title: `《联合早报》互动新闻`,
link: baseUrl + sectionLink,
description: '新加坡、中国、亚洲和国际的即时、评论、商业、体育、生活、科技与多媒体新闻,尽在联合早报。',
item: resultList,
};
};