feat: BTBYR update (#4941)
This commit is contained in:
parent
bde713fd24
commit
259f289af6
|
|
@ -20,13 +20,19 @@ module.exports = async (ctx) => {
|
|||
.map((i, e) => ({
|
||||
title: $(e).find('tr > td.rowfollow').eq(0).text(),
|
||||
pubDate: new Date($(e).find('tr > td.rowfollow > span').attr('title')).toUTCString(),
|
||||
description: $(e).find('tr > td.rowfollow').eq(2).html(),
|
||||
link: url + `log.php?action=funbox#` + new Date($(e).find('tr > td.rowfollow > span').attr('title')).getTime() / 1000,
|
||||
description: $(e)
|
||||
.find('tr > td.rowfollow')
|
||||
.eq(2)
|
||||
.html()
|
||||
.replace(/onclick=.*findPosition\(this\)\[1\]-58\);"/g, '')
|
||||
.replace(/.thumb.jpg/g, ''),
|
||||
link: url + `log.php?action=funbox`,
|
||||
guid: new Date($(e).find('tr > td.rowfollow > span').attr('title')).getTime() / 1000,
|
||||
}))
|
||||
.get();
|
||||
|
||||
ctx.state.data = {
|
||||
title: 'BYRBT - 趣味盒',
|
||||
title: 'BTBYR - 趣味盒',
|
||||
link: url + `log.php?action=funbox`,
|
||||
item: list,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue