From aa1e72041599b7e94d599c30c88e6c6e8d7cf2cb Mon Sep 17 00:00:00 2001 From: watermelon <844704781@qq.com> Date: Wed, 25 Mar 2026 14:13:02 +0800 Subject: [PATCH 1/2] fix: limit file list size to 100000 to avoid excessive requests --- baidupcs_py/baidupcs/pcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baidupcs_py/baidupcs/pcs.py b/baidupcs_py/baidupcs/pcs.py index 1be571d..10df7d1 100644 --- a/baidupcs_py/baidupcs/pcs.py +++ b/baidupcs_py/baidupcs/pcs.py @@ -278,7 +278,7 @@ def list( params = { "method": "list", "by": orderby, - "limit": "0-2147483647", + "limit": "0-100000", "order": ["asc", "desc"][desc], "path": str(remotepath), } From e23581196c6eba651a1e02bddfd5f34c1ac144ca Mon Sep 17 00:00:00 2001 From: watermelon <844704781@qq.com> Date: Wed, 25 Mar 2026 14:17:32 +0800 Subject: [PATCH 2/2] Version 0.7.7 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3c562c6..c65e813 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "BaiduPCS-Py" homepage = "https://github.com/PeterDing/BaiduPCS-Py" -version = "0.7.6" +version = "0.7.7" description = "Baidu Pcs Api and App" authors = ["PeterDing "] license = "MIT"