mirror of https://github.com/preservetube/auto.git
slowly starting back...
This commit is contained in:
parent
9b93242ff4
commit
334b902365
|
@ -90,7 +90,7 @@ async function getChannelVideos(id) {
|
||||||
})).json()
|
})).json()
|
||||||
videos.push(...page.relatedStreams)
|
videos.push(...page.relatedStreams)
|
||||||
|
|
||||||
if (videos.length >= 120) return resolve(videos)
|
if (videos.length >= 30) return resolve(videos)
|
||||||
if (page.nextpage) await getNextPage(page.nextpage)
|
if (page.nextpage) await getNextPage(page.nextpage)
|
||||||
else return resolve(videos)
|
else return resolve(videos)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue