Files
RSSHub/lib/v2/iresearch/radar.js
T
Tony e00b5aafb7 chore: validate radar source field (#12340)
* chore: validate radar source field

* fix: cebbank guid
2023-04-17 10:37:08 -05:00

20 lines
678 B
JavaScript

module.exports = {
'iresearch.com.cn': {
_name: '艾瑞',
www: [
{
title: '研究报告',
docs: 'https://docs.rsshub.app/other.html#ai-rui-chan-ye-yan-jiu-bao-gao',
source: ['/report.shtml'],
target: '/iresearch/report',
},
{
title: '周度市场观察',
docs: 'https://docs.rsshub.app/other.html#ai-rui-zhou-du-shi-chang-guan-cha',
source: ['/report.shtml'],
target: (_, url) => (new URL(url).searchParams.get('type') === '3' ? '/iresearch/weekly' : null),
},
],
},
};