AlistGo / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
44.43k stars 5.76k forks source link

支持移动云盘开放API #7422

Open karma-sun opened 1 month ago

karma-sun commented 1 month ago

Please make sure of the following things

Description of the feature / 需求描述

移动云盘提供了完整的开放API,支持分享等功能 https://open.yun.139.com/#/help-document-new/index?type=API

Suggested solution / 实现思路

废弃现在的移动云盘driver,开发新的driver

Additional context / 附件

No response

pongfcnkl commented 1 month ago

你那有企业?

3213778453 commented 1 month ago

现在移动云盘新个人云上传不了五 六G以上大文件,都是报请求参数不合法。

simonhust commented 1 week ago

目前和移动云合作的有网易爆米花,不知道能否逆向

pongfcnkl commented 1 week ago

目前和移动云合作的有网易爆米花,不知道能否逆向

那还不如直接逆向官方

simonhust commented 1 week ago

邮件已收到,感谢支持

bowjijibwf commented 6 days ago

看了一下,好像必须是企业才能注册成开发者. 目前的驱动,我又遇到问题了, move的操作总是失败. 谁能帮忙看看嘛? [GIN] 2024/11/27 - 22:51:48 | 500 | 474.147µs | 192.168.1.189 | MOVE "/dav/mobile/我的文件夹/backup/kopia.maintenance.f-7459367725322104273" [GIN] 2024/11/27 - 22:51:56 | 201 | 14.788821567s | 192.168.1.189 | PUT "/dav/mobile/我的文件夹/backup/kopia.maintenance.f-1776177163046641677" ERRO[2024-11-27 22:51:56] MOVE /dav/mobile/我的文件夹/backup/kopia.maintenance.f-1776177163046641677 webdav: invalid destination [GIN] 2024/11/27 - 22:51:56 | 502 | 310.825µs | 192.168.1.189 | MOVE "/dav/mobile/我的文件夹/backup/kopia.maintenance.f-1776177163046641677" WARN[2024-11-27 22:52:04] failed get /mobile/我的文件夹/backup/kopia.maintenance.f-7459367725322104273: object not found [GIN] 2024/11/27 - 22:52:04 | 201 | 15.062210991s | 192.168.1.189 | PUT "/dav/mobile/我的文件夹/backup/kopia.maintenance.f-7459367725322104273" ERRO[2024-11-27 22:52:04] failed rename /mobile/我的文件夹/backup/kopia.maintenance.f-7459367725322104273 to kopia.maintenance.f: object not found github.com/alist-org/alist/v3/internal/op.Get /home/runner/work/alist/alist/internal/op/fs.go:227 github.com/alist-org/alist/v3/internal/op.Rename /home/runner/work/alist/alist/internal/op/fs.go:402 github.com/alist-org/alist/v3/internal/fs.rename /home/runner/work/alist/alist/internal/fs/other.go:40 github.com/alist-org/alist/v3/internal/fs.Rename /home/runner/work/alist/alist/internal/fs/fs.go:81 github.com/alist-org/alist/v3/server/webdav.moveFiles /home/runner/work/alist/alist/server/webdav/file.go:37 github.com/alist-org/alist/v3/server/webdav.(Handler).handleCopyMove /home/runner/work/alist/alist/server/webdav/webdav.go:494 github.com/alist-org/alist/v3/server/webdav.(Handler).ServeHTTP /home/runner/work/alist/alist/server/webdav/webdav.go:70 github.com/alist-org/alist/v3/server.ServeWebDAV /home/runner/work/alist/alist/server/webdav.go:46 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /home/runner/work/alist/alist/server/webdav.go:113 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /home/runner/work/alist/alist/server/middlewares/check.go:14 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(Engine).handleHTTPRequest /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(Engine).ServeHTTP /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /opt/hostedtoolcache/go/1.23.3/x64/src/net/http/server.go:3210 net/http.(conn).serve /opt/hostedtoolcache/go/1.23.3/x64/src/net/http/server.go:2092 runtime.goexit /opt/hostedtoolcache/go/1.23.3/x64/src/runtime/asm_amd64.s:1700 failed to get src object ERRO[2024-11-27 22:52:04] MOVE /dav/mobile/我的文件夹/backup/kopia.maintenance.f-7459367725322104273 object not found github.com/alist-org/alist/v3/internal/op.Get /home/runner/work/alist/alist/internal/op/fs.go:227 github.com/alist-org/alist/v3/internal/op.Rename /home/runner/work/alist/alist/internal/op/fs.go:402 github.com/alist-org/alist/v3/internal/fs.rename /home/runner/work/alist/alist/internal/fs/other.go:40 github.com/alist-org/alist/v3/internal/fs.Rename /home/runner/work/alist/alist/internal/fs/fs.go:81 github.com/alist-org/alist/v3/server/webdav.moveFiles /home/runner/work/alist/alist/server/webdav/file.go:37 github.com/alist-org/alist/v3/server/webdav.(Handler).handleCopyMove /home/runner/work/alist/alist/server/webdav/webdav.go:494 github.com/alist-org/alist/v3/server/webdav.(Handler).ServeHTTP /home/runner/work/alist/alist/server/webdav/webdav.go:70 github.com/alist-org/alist/v3/server.ServeWebDAV /home/runner/work/alist/alist/server/webdav.go:46 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server.WebDAVAuth /home/runner/work/alist/alist/server/webdav.go:113 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded /home/runner/work/alist/alist/server/middlewares/check.go:14 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.LoggerWithConfig.func1 /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 github.com/gin-gonic/gin.(Context).Next /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 github.com/gin-gonic/gin.(Engine).handleHTTPRequest /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 github.com/gin-gonic/gin.(Engine).ServeHTTP /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 net/http.serverHandler.ServeHTTP /opt/hostedtoolcache/go/1.23.3/x64/src/net/http/server.go:3210 net/http.(conn).serve /opt/hostedtoolcache/go/1.23.3/x64/src/net/http/server.go:2092 runtime.goexit /opt/hostedtoolcache/go/1.23.3/x64/src/runtime/asm_amd64.s:1700 failed to get src object [GIN] 2024/11/27 - 22:52:04 | 500 | 1.205938ms | 192.168.1.189 | MOVE "/dav/mobile/我的文件夹/backup/kopia.maintenance.f-7459367725322104273" [GIN] 2024/11/27 - 22:52:13 | 201 | 14.138796559s | 192.168.1.189 | PUT "/dav/mobile/我的文件夹/backup/kopia.maintenance.f-1776177163046641677" ERRO[2024-11-27 22:52:13] MOVE /dav/mobile/我的文件夹/backup/kopia.maintenance.f-1776177163046641677 webdav: invalid destination [GIN] 2024/11/27 - 22:52:13 | 502 | 230.027µs | 192.168.1.189 | MOVE "/dav/mobile/我的文件夹/backup/kopia.maintenance.f-1776177163046641677"