Files
RSSHub/lib/v2/dtcj/radar.js
Ethan Shen 0022ca1d2e feat(route): add DT财经数据洞察 (#7672)
* feat(route): add DT财经数据洞察

* fix typo

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-22 20:30:40 +08:00

26 lines
868 B
JavaScript

module.exports = {
'dtcj.com': {
_name: 'DT 财经',
'.': [
{
title: '数据侠专栏',
docs: 'https://docs.rsshub.app/finance.html#dt-cai-jing',
source: ['/datahero/topic'],
target: (_params, url) => `/dtcj/datahero/${new URL(url).searchParams.get('topic_id')}`,
},
{
title: '数据洞察',
docs: 'https://docs.rsshub.app/finance.html#dt-cai-jing',
source: ['/dtcj/datainsight'],
target: '/dtcj/datainsight',
},
{
title: '数据洞察',
docs: 'https://docs.rsshub.app/finance.html#dt-cai-jing',
source: ['/insighttopic/:id'],
target: '/dtcj/datainsight/:id',
},
],
},
};