diff --git a/lib/routes/tianya/index.js b/lib/routes/tianya/index.js index 37dd33ac6f..148a3d705c 100644 --- a/lib/routes/tianya/index.js +++ b/lib/routes/tianya/index.js @@ -11,7 +11,7 @@ module.exports = async (ctx) => { .map((_, ele) => { const $item = cheerio.load(ele); const title = $item('td.td-title a').text(); - const link = $item('td.td-title a').attr('href'); + const link = 'http://bbs.tianya.cn' + $item('td.td-title a').attr('href'); const date = $item('td') .last() .attr('title');