mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 23:00:48 +08:00
* feat(route): add MyFigureCollection * docs: fix typo * fix: add more pictures & add easy-to-read forms * fix: some items are inaccessible * fix: bad urls * fix: pictures without weight and height
45 lines
1.5 KiB
JavaScript
45 lines
1.5 KiB
JavaScript
const myFigureCollection = [
|
|
{
|
|
title: '活動',
|
|
docs: 'https://docs.rsshub.app/shopping.html#MyFigureCollection-huo-dong',
|
|
source: ['/browse/activity', '/'],
|
|
target: '/myfigurecollection/activity/:category?/:language?/:latestAdditions?/:latestEdits?/:latestAlerts?/:latestPictures?',
|
|
},
|
|
{
|
|
title: '資料庫',
|
|
docs: 'https://docs.rsshub.app/shopping.html#MyFigureCollection-zi-liao-ku',
|
|
source: ['/browse', '/'],
|
|
target: '/myfigurecollection/:category?/:language?',
|
|
},
|
|
{
|
|
title: '圖片',
|
|
docs: 'https://docs.rsshub.app/shopping.html#MyFigureCollection-tu-pian',
|
|
source: ['/picture/browse/:category', '/'],
|
|
target: (params) => {
|
|
if (params.category === 'potd' || params.category === 'potw' || params.category === 'potm') {
|
|
return '/myfigurecollection/:category?/:language?';
|
|
}
|
|
},
|
|
},
|
|
];
|
|
|
|
module.exports = {
|
|
'myfigurecollection.net': {
|
|
_name: 'MyFigureCollection',
|
|
'.': myFigureCollection,
|
|
de: myFigureCollection,
|
|
es: myFigureCollection,
|
|
fi: myFigureCollection,
|
|
fr: myFigureCollection,
|
|
it: myFigureCollection,
|
|
ja: myFigureCollection,
|
|
nl: myFigureCollection,
|
|
no: myFigureCollection,
|
|
pl: myFigureCollection,
|
|
pt: myFigureCollection,
|
|
ru: myFigureCollection,
|
|
sv: myFigureCollection,
|
|
zh: myFigureCollection,
|
|
},
|
|
};
|