mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-06 21:36:37 +08:00
refactor: split modules and harden scraping workflows
This commit is contained in:
@@ -28,7 +28,7 @@ export function PosterWallPage() {
|
||||
const rows: Media[] = []
|
||||
let page = 1
|
||||
for (;;) {
|
||||
const data = await libraryAPI.listMedia(library.id, page, POSTER_WALL_PAGE_SIZE)
|
||||
const data = await libraryAPI.listMedia(library.id, page, POSTER_WALL_PAGE_SIZE, { groupVersions: false })
|
||||
rows.push(...(data.items || []))
|
||||
if (rows.length >= data.total || data.items.length === 0) break
|
||||
page += 1
|
||||
|
||||
Reference in New Issue
Block a user