Merge commit '20af5fddb7d48ec2160b97debd3ddf879fab03c6'

This commit is contained in:
DIYgod 2020-05-09 12:06:49 +08:00
commit 35270e8099
1 changed files with 15 additions and 0 deletions

View File

@ -1864,4 +1864,19 @@
},
],
},
't66y.com': {
_name: '草榴社区',
www: [
{
title: '分区帖子',
docs: 'https://docs.rsshub.app/multimedia.html#cao-liu-she-qu',
source: '/thread0806.php',
target: (params, url) => {
const id = new URL(url).searchParams.get('fid');
const type = new URL(url).searchParams.get('type');
return `/t66y/${id}/${type ? type : ''}`;
},
},
],
},
});