mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 23:00:48 +08:00
fix(route): segmentfault return empty and refactor to V2 (#9270)
* fix(route): return empty and refactor to V2 * docs: update segmentfault user example
This commit is contained in:
19
lib/v2/segmentfault/radar.js
Normal file
19
lib/v2/segmentfault/radar.js
Normal file
@@ -0,0 +1,19 @@
|
||||
module.exports = {
|
||||
'segmentfault.com': {
|
||||
_name: 'SegmentFault',
|
||||
'.': [
|
||||
{
|
||||
title: '频道',
|
||||
docs: 'https://docs.rsshub.app/programming.html#segmentfault',
|
||||
source: ['/channel/:name'],
|
||||
target: '/channel/:name',
|
||||
},
|
||||
{
|
||||
title: '用户',
|
||||
docs: 'https://docs.rsshub.app/programming.html#segmentfault',
|
||||
source: ['/u/:name'],
|
||||
target: '/user/:name',
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user