Files
RSSHub/lib/v2/luogu/radar.js
Xiaoxu Guo 14503131bc feat(route): add Luogu user blog (#11527)
* feat(route): add Luogu user blog

* used html as description instead

* Do not set pubDate if there isn't any.

* used Luogu API
2023-01-02 02:17:04 +08:00

32 lines
1.0 KiB
JavaScript

module.exports = {
'luogu.com.cn': {
_name: '洛谷',
'.': [
{
title: '日报',
docs: 'https://docs.rsshub.app/programming.html#luo-gu',
source: ['/discuss/47327', '/'],
target: '/luogu/daily',
},
{
title: '比赛列表',
docs: 'https://docs.rsshub.app/programming.html#luo-gu',
source: ['/contest/list', '/'],
target: '/luogu/contest',
},
{
title: '用户动态',
docs: 'https://docs.rsshub.app/programming.html#luo-gu',
source: ['/user/:uid'],
target: '/luogu/user/feed/:uid',
},
{
title: '用户博客',
docs: 'https://docs.rsshub.app/programming.html#luo-gu',
source: ['/blog/:username'],
target: '/luogu/user/blog/:username',
},
],
},
};