add t66y radar rule

This commit is contained in:
hoilc
2020-05-08 23:29:44 +08:00
parent 33ed5457c0
commit 20af5fddb7
+15
View File
@@ -1748,4 +1748,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 : ''}`;
},
},
],
},
});