mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-11 15:47:48 +08:00
chore(deps-dev): bump prettier from 1.19.1 to 2.0.2
This commit is contained in:
@@ -20,20 +20,11 @@ module.exports = async (ctx) => {
|
||||
|
||||
const out = $('.repo-list li')
|
||||
.slice(0, 10)
|
||||
.map(function() {
|
||||
.map(function () {
|
||||
const single = {
|
||||
title: $(this)
|
||||
.find('div h3 a')
|
||||
.text(),
|
||||
link: host.concat(
|
||||
$(this)
|
||||
.find('div h3 a')
|
||||
.attr('href')
|
||||
),
|
||||
description: $(this)
|
||||
.find('div p')
|
||||
.text()
|
||||
.trim(),
|
||||
title: $(this).find('div h3 a').text(),
|
||||
link: host.concat($(this).find('div h3 a').attr('href')),
|
||||
description: $(this).find('div p').text().trim(),
|
||||
};
|
||||
return single;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user