fix(route): oasis (#13440)

This commit is contained in:
Tony 2023-09-29 13:39:43 +00:00 committed by GitHub
parent e8caa9b0e0
commit 66e2af9cc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -11,9 +11,10 @@ module.exports = async (ctx) => {
title: `$('.name-main').text().trim() + ' - 用户 - 绿洲'`,
description: `$('.desc').text().trim()`,
item: {
item: '.container .item',
title: `$('.status-desc').text()`,
description: `$('.status-desc').text() + '<br>' + $('.media-wrapper').html()`,
item: '.container .status-item',
title: `$('.status-item-title').clone().children().remove().end().text()`,
description: `$('.status-item-title').clone().children().remove().end().text() + '<br>' + $('.status-img').html()`,
link: `'https://oasis.weibo.cn/v1/h5/share?sid=' + $('.status-item-title').parent().data('id')`,
},
})
);