mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-11 23:59:56 +08:00
@@ -14,7 +14,7 @@ module.exports = async (ctx) => {
|
|||||||
const data = response.data.data.list;
|
const data = response.data.data.list;
|
||||||
const list1 = [];
|
const list1 = [];
|
||||||
const list2 = [];
|
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]);
|
list1.push(data[i][0]);
|
||||||
list2.push(data[i][1]);
|
list2.push(data[i][1]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user