From 38d01000a0c0e22fe8faa7f358e8190d34fc40e2 Mon Sep 17 00:00:00 2001 From: hcrgm Date: Sun, 2 Nov 2025 12:46:19 +0800 Subject: [PATCH 1/2] docs(baidu): refine information about uploading --- pages/guide/drivers/baidu.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pages/guide/drivers/baidu.md b/pages/guide/drivers/baidu.md index 5401c26aa..2cb6d7d08 100644 --- a/pages/guide/drivers/baidu.md +++ b/pages/guide/drivers/baidu.md @@ -434,10 +434,14 @@ Example 2: Another plugin method covering 360, Chrome, Edge: **https://youtu.be/ ::: en Official Documentation: [百度网盘开放平台 - 上传 - 能力说明](https://pan.baidu.com/union/doc/3ksg0s9ye) -> Baidu Netdisk requires that each slice be uploaded within 30 seconds, so excessively high concurrency during file uploads may result in a significant number of failures. +> ~~Baidu Netdisk requires that each slice be uploaded within 30 seconds, so excessively high concurrency during file uploads may result in a significant number of failures.~~ +> Currently (November 2025), Baidu Netdisk appears to have significantly relaxed the timeout limit for uploading slices. +> Tests show that uploading single slice is now allowed to exceed 30 minutes. +> Therefore, after extending the timeout duration, the failure rate for batch uploading large files should be greatly reduced (even if low upload bandwidth). - Upload Threads: The number of slices to upload concurrently. - Upload API: The domain endpoint used for uploading. +- Use dynamic upload API: Dynamically fetch upload domain, generally can achieve maximum upload speed. Will ignore "Upload API" when enabled. This is enabled by default. - Custom Upload Slice Size: Allows you to specify the size of each slice. Note that there are limitations, and this feature is available to VIPs only. - Low Bandwidth Upload Mode: Attempts to address the frequent `Client.Timeout exceeded while awaiting headers` errors encountered in low upload bandwidth scenarios (e.g., residential broadband). When enabled, it uses the smallest possible slice size. @@ -446,10 +450,12 @@ Official Documentation: [百度网盘开放平台 - 上传 - 能力说明](https ::: zh-CN 官方文档:[百度网盘开放平台 - 上传 - 能力说明](https://pan.baidu.com/union/doc/3ksg0s9ye) -> 百度网盘要求在 30s 内完成单个分片的上传,所以上传文件时并发过高可能会导致大量失败。 +> ~~百度网盘要求在 30s 内完成单个分片的上传,所以上传文件时并发过高可能会导致大量失败。~~ +> 截止目前(2025年11月)百度网盘似乎大幅放宽了分片上传超时时间,实测单分片允许超30分钟的上传时间,所以在延长超时时间后,批量上传大文件的失败率应该会大大降低(即便上传带宽较低)。 - 上传线程:同时上传几个分片 - 上传 API:上传的域名端点 +- 使用动态上传 API:动态获取上传域名,一般可实现上传速度最大化,当开启时会忽略“上传 API”的设定。此项默认开启。 - 自定义上传分片大小:用于指定分片大小,有限制,仅会员可用 - 低上传带宽模式:尝试解决低上传带宽场景(如家宽)下,频繁出现 `Client.Timeout exceeded while awaiting headers` 的问题。开启后会使用尽可能小的分片大小。 From 139a2e20b216472a5b7112f2f3db05fc09c86f58 Mon Sep 17 00:00:00 2001 From: hcrgm Date: Mon, 3 Nov 2025 11:45:12 +0800 Subject: [PATCH 2/2] docs(baidu): adjust upload settings descriptions --- pages/guide/drivers/baidu.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/guide/drivers/baidu.md b/pages/guide/drivers/baidu.md index 2cb6d7d08..c31630092 100644 --- a/pages/guide/drivers/baidu.md +++ b/pages/guide/drivers/baidu.md @@ -441,7 +441,7 @@ Official Documentation: [百度网盘开放平台 - 上传 - 能力说明](https - Upload Threads: The number of slices to upload concurrently. - Upload API: The domain endpoint used for uploading. -- Use dynamic upload API: Dynamically fetch upload domain, generally can achieve maximum upload speed. Will ignore "Upload API" when enabled. This is enabled by default. +- Use dynamic upload API: Dynamically fetch upload domain, generally can achieve maximum upload speed. When enabled, the `Upload API` setting will be used as a fallback if failed to get online. This is enabled by default. - Custom Upload Slice Size: Allows you to specify the size of each slice. Note that there are limitations, and this feature is available to VIPs only. - Low Bandwidth Upload Mode: Attempts to address the frequent `Client.Timeout exceeded while awaiting headers` errors encountered in low upload bandwidth scenarios (e.g., residential broadband). When enabled, it uses the smallest possible slice size. @@ -455,7 +455,7 @@ Official Documentation: [百度网盘开放平台 - 上传 - 能力说明](https - 上传线程:同时上传几个分片 - 上传 API:上传的域名端点 -- 使用动态上传 API:动态获取上传域名,一般可实现上传速度最大化,当开启时会忽略“上传 API”的设定。此项默认开启。 +- 使用动态上传 API:动态获取上传域名,一般可实现上传速度最大化,当开启时,将“上传 API”设置作为后备选项,无法在线获取到域名时使用。此设置默认开启。 - 自定义上传分片大小:用于指定分片大小,有限制,仅会员可用 - 低上传带宽模式:尝试解决低上传带宽场景(如家宽)下,频繁出现 `Client.Timeout exceeded while awaiting headers` 的问题。开启后会使用尽可能小的分片大小。