mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 20:27:52 +08:00
* feat(router): dahecube * fix: radar.js * fix(radar): docs url Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
24 lines
729 B
JavaScript
24 lines
729 B
JavaScript
const utils = require('./utils');
|
|
|
|
module.exports = {
|
|
'dahecube.com': {
|
|
_name: '大河财立方',
|
|
'.': [
|
|
{
|
|
title: '新闻',
|
|
docs: 'https://docs.rsshub.app/new-media.html#da-he-cai-li-fang',
|
|
source: ['/channel.html?recid=:id', '/index.html?recid=:id'],
|
|
target: ({ id }) => {
|
|
let type = 'recommend';
|
|
Object.entries(utils.TYPE).forEach(([key, value]) => {
|
|
if (value.id === id) {
|
|
type = key;
|
|
}
|
|
});
|
|
return `/dahecube/${type}`;
|
|
},
|
|
},
|
|
],
|
|
},
|
|
};
|