Files
RSSHub/lib/v2/cfmmc/radar.js
T
Ethan Shen b387495bec feat(route): add 中国期货市场监控中心 (#14287)
* feat(route): add 中国期货市场监控中心

* Update lib/v2/cfmmc/radar.js

---------
2024-01-19 18:35:01 +00:00

18 lines
526 B
JavaScript

module.exports = {
'cfmmc.com': {
_name: '中国期货市场监控中心',
'.': [
{
title: '栏目',
docs: 'https://docs.rsshub.app/routes/finance#zhong-guo-qi-huo-shi-chang-jian-kong-zhong-xin-lan-mu',
source: ['/:id*'],
target: (params) => {
const id = params.id.replace(/\/index\.shtml/, '');
return `/cfmmc${id ? `/${id}` : ''}`;
},
},
],
},
};