diff --git a/lib/routes/universities/bupt/funbox.js b/lib/routes/universities/bupt/funbox.js index 2e24f03bc..9057c2b49 100644 --- a/lib/routes/universities/bupt/funbox.js +++ b/lib/routes/universities/bupt/funbox.js @@ -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, };