mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-14 17:19:37 +08:00
chore(deps-dev): bump prettier from 1.19.1 to 2.0.2
This commit is contained in:
@@ -10,24 +10,11 @@ module.exports = async (ctx) => {
|
||||
|
||||
const out = $('.am-panel-hd ')
|
||||
.slice(0, 10)
|
||||
.map(function() {
|
||||
.map(function () {
|
||||
const info = {
|
||||
title:
|
||||
$(this)
|
||||
.find('a')
|
||||
.text() || $(this).text(),
|
||||
description:
|
||||
$(this).html() +
|
||||
$(this)
|
||||
.parent()
|
||||
.find('.am-panel-bd')
|
||||
.html(),
|
||||
link: resolve_url(
|
||||
'https://www.luogu.com.cn',
|
||||
$(this)
|
||||
.find('a')
|
||||
.attr('href')
|
||||
),
|
||||
title: $(this).find('a').text() || $(this).text(),
|
||||
description: $(this).html() + $(this).parent().find('.am-panel-bd').html(),
|
||||
link: resolve_url('https://www.luogu.com.cn', $(this).find('a').attr('href')),
|
||||
};
|
||||
return info;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user