mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: 解决tianya/index/:type生成的路径不匹配的问题 (#3165)
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user