Skip to content

百度网盘上传优化 #9486

@362227

Description

@362227

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.60.0

Driver used / 使用的存储驱动

百度网盘

Describe the bug / 问题描述

百度网盘选择动态api上传,白天正常,晚上上传到99%就没有速度,就这样一直上传着,偶尔报错重试,但大多数时候等1-2小时还在上传(速度几乎为0)。如果我换成固定api,比如d.pcs.baidu.com,就可以上传成功。
我测试BaiduPCS-Go也没有啥太大问题

是不是可以优化一下,选择了动态api,如果上传速度过慢且超过n分钟就换其他api上传该分片

Reproduction / 复现链接

--

Config / 配置

不需要

Logs / 日志

error uploading to baidu, response={"error_code":31299, "error_msg":"Invalid param keylist"}
github.com/alist-org/alist/v3/internal/op.Put

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions