mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 14:07:54 +08:00
feat: only output 2 post for wemp, close #2378
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = async (ctx) => {
|
||||
const year = new Date().getFullYear();
|
||||
const items = await Promise.all(
|
||||
$('.post-item__main')
|
||||
.slice(0, 10)
|
||||
.slice(0, 2)
|
||||
.get()
|
||||
.map(async (e) => {
|
||||
let pubDate = date(
|
||||
|
||||
Reference in New Issue
Block a user