Files
Mean c1c757c48d feat: 增加北航集成电路学院 (#13924)
* feat: 增加北航集成电路学院

* refactor: 直接使用路径作为参数

* refactor: migrate to v2

---------
2023-12-01 22:30:42 +08:00

22 lines
810 B
JavaScript

module.exports = {
'buaa.edu.cn': {
_name: '北京航空航天大学',
news: [
{
title: '新闻网',
docs: 'https://docs.rsshub.app/routes/university#bei-jing-hang-kong-hang-tian-da-xue',
source: ['/*'],
target: (_, url) => `/buaa/news${new URL(url).pathname.replace('.htm', '')}`,
},
],
'www.sme': [
{
title: '集成电路科学与工程学院',
docs: 'https://docs.rsshub.app/routes/university#bei-jing-hang-kong-hang-tian-da-xue-ji-cheng-dian-lu-ke-xue-yu-gong-cheng-xue-yuan',
source: ['/*'],
target: (_, url) => `/buaa/sme${new URL(url).pathname.replace('.htm', '')}`,
},
],
},
};