Files
RSSHub/lib/v2/sobooks/radar.js
Fatpandac 5146d11295 fix(route): sobooks change domain name and refactor to V2 (#9833)
* fix(route): change domain name and refactor to V2

* docs: fix sobooks
2022-05-27 19:46:31 +08:00

26 lines
807 B
JavaScript

module.exports = {
'sobooks.net': {
_name: 'SoBooks',
'.': [
{
title: '分类',
docs: 'https://docs.rsshub.app/reading.html#sobooks',
source: ['/:category'],
target: '/sobooks/:category',
},
{
title: '标签',
docs: 'https://docs.rsshub.app/reading.html#sobooks',
source: ['/books/tag/:tag'],
target: '/sobooks/tag/:tag',
},
{
title: '归档',
docs: 'https://docs.rsshub.app/reading.html#sobooks',
source: ['/books/date/*date'],
target: (params) => `/sobooks/date/${params.date.repalce('/', '-')}`,
},
],
},
};