mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-11 07:40:26 +08:00
fix: wemp 一次抓取过多文章导致超时 (#4641)
This commit is contained in:
@@ -17,6 +17,7 @@ module.exports = async (ctx) => {
|
||||
const items = await Promise.all(
|
||||
$('.post-item__main')
|
||||
.get()
|
||||
.slice(0, 3)
|
||||
.map(async (e) => {
|
||||
let pubDate = date(`${year} ${$(e).find('.post-item__date').text().trim()}`, 8);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user