mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-10 15:21:59 +08:00
28 lines
914 B
JavaScript
28 lines
914 B
JavaScript
module.exports = {
|
|
'dapenti.com': {
|
|
_name: '喷嚏',
|
|
'.': [
|
|
{
|
|
title: '图卦',
|
|
docs: 'https://docs.rsshub.app/picture.html#pen-ti',
|
|
source: ['/blog/blog.asp'],
|
|
target: (params, url) => {
|
|
if (new URL(url).searchParams.get('subjectid') === '70') {
|
|
return '/dapenti/tugua';
|
|
}
|
|
},
|
|
},
|
|
{
|
|
title: '主题',
|
|
docs: 'https://docs.rsshub.app/picture.html#pen-ti',
|
|
source: ['/blog/blog.asp'],
|
|
target: (params, url) => {
|
|
if (new URL(url).searchParams.get('subjectid')) {
|
|
return '/dapenti/subject/' + new URL(url).searchParams.get('subjectid');
|
|
}
|
|
},
|
|
},
|
|
],
|
|
},
|
|
};
|