diff --git a/docs/university.md b/docs/university.md index 6fd571989..3f6a20ac8 100644 --- a/docs/university.md +++ b/docs/university.md @@ -1766,11 +1766,11 @@ type 列表: ### 设计与建筑学院 - + -| 学术科研 | 学院新闻 | 公告通知 | 学术交流 | -| -------- | -------- | -------- | -------- | -| 5 | 16 | 18 | 20 | +| 学院新闻 | 公告通知 | 学术交流 | +| -------- | -------- | -------- | +| 16 | 18 | 20 | diff --git a/lib/routes/universities/zjut/design.js b/lib/routes/universities/zjut/design.js index 416f7984a..bb9ee36ac 100644 --- a/lib/routes/universities/zjut/design.js +++ b/lib/routes/universities/zjut/design.js @@ -43,8 +43,8 @@ module.exports = async (ctx) => { } const itemReponse = await got({ method: 'get', url: link, responseType: 'buffer' }); - const itemElement = cheerio.load(iconv.decode(itemReponse.data, 'gbk')); - item.description = itemElement('#jiacu').html(); + const itemElement = cheerio.load(iconv.decode(itemReponse.data, 'utf-8')); + item.description = itemElement('div[style="line-height:27px;"]').html(); ctx.cache.set(link, JSON.stringify(item)); return Promise.resolve(item);