RSSHub/lib/v2/cas/radar.js

69 lines
2.3 KiB
JavaScript

module.exports = {
'cas.cn': {
_name: '中国科学院',
www: [
{
title: '成果转化',
docs: 'https://docs.rsshub.app/routes/university#zhong-guo-ke-xue-yuan',
source: ['/cg/:caty?'],
target: '/cas/cg/:caty?',
},
],
'www.genetics': [
{
title: '遗传与生物学研究所 - 学术活动',
docs: 'https://docs.rsshub.app/routes/university#zhong-guo-ke-xue-yuan',
source: ['/jixs/yg', '/'],
target: '/cas/genetics/xshd',
},
],
'www.ia': [
{
title: '自动化所',
docs: 'https://docs.rsshub.app/routes/university#zhong-guo-ke-xue-yuan',
source: ['/yjsjy/zs/sszs', '/'],
target: '/cas/ia/yjs',
},
],
'www.iee': [
{
title: '电工研究所 科研动态',
docs: 'https://docs.rsshub.app/routes/university#zhong-guo-ke-xue-yuan',
source: ['/xwzx/kydt', '/'],
target: '/cas/iee/kydt',
},
],
'www.is': [
{
title: '软件研究所',
docs: 'https://docs.rsshub.app/routes/university#zhong-guo-ke-xue-yuan',
source: ['/'],
target: (params, url, document) => {
if (document.querySelector('.list-news')) {
return `/cas/is/${url.split('/').slice(3, -1).join('/')}`;
}
},
},
],
'www.sim': [
{
title: '上海微系统与信息技术研究所 - 科技进展',
docs: 'https://docs.rsshub.app/routes/university#zhong-guo-ke-xue-yuan',
source: ['/xwzx2016/kyjz', '/'],
target: '/cas/sim/kyjz',
},
],
},
'mesalab.cn': {
_name: '中国科学院',
www: [
{
title: '信息工程研究所 第二研究室 处理架构组 知识库',
docs: 'https://docs.rsshub.app/routes/university#zhong-guo-ke-xue-yuan',
source: ['/f/article/articleList', '/'],
target: '/cas/mesalab/kb',
},
],
},
};