parent
718686fabc
commit
54752afe9b
|
|
@ -28,17 +28,10 @@ module.exports = async (ctx) => {
|
|||
}
|
||||
|
||||
// Get current comment's link.
|
||||
let link = $(item)
|
||||
const link = `https://jandan.net${$(item)
|
||||
.find('.righttext')
|
||||
.find('a')
|
||||
.attr('href');
|
||||
|
||||
if (link !== undefined) {
|
||||
link = `http:${link}`;
|
||||
} else {
|
||||
// sub_model 为 top-ooxx 时无链接
|
||||
link = '';
|
||||
}
|
||||
.attr('href')}`;
|
||||
|
||||
const imgList = [];
|
||||
$(item)
|
||||
|
|
|
|||
Loading…
Reference in New Issue