mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 14:40:23 +08:00
@@ -14,7 +14,7 @@ module.exports = async (ctx) => {
|
||||
const data = response.data.data.list;
|
||||
const list1 = [];
|
||||
const list2 = [];
|
||||
for (let i = 0; i < 6; i++) {
|
||||
for (let i = 0; i < Math.min(6, data.length); i++) {
|
||||
list1.push(data[i][0]);
|
||||
list2.push(data[i][1]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user