diff --git a/internal/pikpak/file.go b/internal/pikpak/file.go index 65c3e9d..d5d0c3d 100644 --- a/internal/pikpak/file.go +++ b/internal/pikpak/file.go @@ -89,7 +89,7 @@ func (p *PikPak) GetFolderFileStatList(parentId string) ([]FileStat, error) { filters := `{"trashed":{"eq":false}}` query := url.Values{} query.Add("thumbnail_size", "SIZE_MEDIUM") - query.Add("limit", "100") + query.Add("limit", "500") query.Add("parent_id", parentId) query.Add("with_audit", "false") query.Add("filters", filters) diff --git a/internal/pikpak/folder.go b/internal/pikpak/folder.go index 9cbdf83..af0a27f 100644 --- a/internal/pikpak/folder.go +++ b/internal/pikpak/folder.go @@ -48,7 +48,7 @@ func (p *PikPak) GetFolderId(parentId string, dir string) (string, error) { value.Add("page_token", "") value.Add("with_audit", "false") value.Add("thumbnail_size", "SIZE_LARGE") - value.Add("limit", "200") + value.Add("limit", "500") for { req, err := http.NewRequest("GET", fmt.Sprintf("https://api-drive.mypikpak.com/drive/v1/files?"+value.Encode()), nil) if err != nil {