AlistGo / AlistGo/alist

百度网盘上传优化

Abierto
#9,486 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Go
Estrellas
50.2k
Forks
7.9k
Merge medio
7 d 21 h
PR fusionados (30 d)
6

Descripción

### Please make sure of the following things

- [x] I have read the [documentation](https://alistgo.com).
我已经阅读了[文档](https://alistgo.com)。

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

- [x] I'm sure it's due to `AList` and not something else(such as [Network](https://alistgo.com/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alistgo.com/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。

- [x] 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.