* fix(route):route 8kcosplay: 子路由/category 无法获取 * feat(route):route 8kcosplay: 增加/tag * 一些修正 * doc:子路由/tag * style: * disable pre-commit hook * fix(route):route 8kcosplay: 最新文章无法获取 * fix(route):route 8kcosplay: 遵循pubDate规范 * style(route):route 8kcosplay: 遵循pubDate规范 * route 8kcosplay: 获取不到页面时不返回item * Revert "disable pre-commit hook" This reverts commit d1342b9ea2e422ea03d2fdd096dfa0a383529b7c. * fix(route):route 8kcosplay: 删除不必要的async * fix(route):route 8kcosplay: 限制文章全文获取数量 * use @/utils/got * feat(route):route 8kcosplay: 使用limit query限制文章全文获取数量 * refactor: migrated to v2 Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
26 lines
783 B
JavaScript
26 lines
783 B
JavaScript
module.exports = {
|
|
'8kcosplay.com': {
|
|
_name: '8KCosplay',
|
|
'.': [
|
|
{
|
|
title: '最新',
|
|
docs: 'https://docs.rsshub.app/picture.html#_8kcosplay',
|
|
source: ['/'],
|
|
target: '/8kcos',
|
|
},
|
|
{
|
|
title: '分类',
|
|
docs: 'https://docs.rsshub.app/picture.html#_8kcosplay',
|
|
source: ['/category/:cat*'],
|
|
target: (params, url) => `/8kcos/cat/${new URL(url).pathname}`,
|
|
},
|
|
{
|
|
title: '标签',
|
|
docs: 'https://docs.rsshub.app/picture.html#_8kcosplay',
|
|
source: ['/tag/:tag'],
|
|
target: '/8kcos/tag/:tag',
|
|
},
|
|
],
|
|
},
|
|
};
|