cloudpan189-go icon indicating copy to clipboard operation
cloudpan189-go copied to clipboard

天翼云盘命令行客户端(CLI),基于GO语言实现

Results 62 cloudpan189-go issues
Sort by recently updated
recently updated
newest added

设备是macOS M1芯片,登录过程中报错: ```bash cloudpan189-go > login [email protected] -password=xxxxxxxx panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x230 pc=0x101177c90] goroutine 1 [running]: github.com/tickstep/cloudpan189-go/internal/command.CmdLogin.func1(0x140001e0160) github.com/tickstep/cloudpan189-go/internal/command/login.go:61...

``` [2023-4-5 14:20:00.970] do request url: https://cloud.189.cn/unifyLoginForPC.action?appId=123&clientType=10020&returnURL=https://m.cloud.189.cn/zhuanti/2020/loginErrorPc/index.html&timeStamp=1680675600970 [2023-4-5 14:20:01.279] do request url: https://open.e.189.cn/api/logbox/oauth2/loginSubmit.do [2023-4-5 14:20:01.404] response: { "result":0, "msg":"登录成功", "toUrl":"https://m.cloud.189.cn/zhuanti/2020/loginErrorPc/index.html?appId=---------------" } [2023-4-5 14:20:01.404] do request url: https://api.cloud.189.cn/getSessionForPC.action?clientType=TELEMAC&version=1.0.0&channelId=web_cloud.189.cn&redirectURL=-------------------------- [2023-4-5 14:20:01.738] response:...

``` login --username xxxx -password '#xxxxx' ``` result: ``` [2023-10-20 09:03:43.777] use config dir: /usr/local/Cellar/cloudpan189-go/0.1.3/bin [2023-10-20 09:03:43.777] use config dir: /usr/local/Cellar/cloudpan189-go/0.1.3/bin [2023-10-20 09:03:43.784] do request url: https://cloud.189.cn/unifyLoginForPC.action?appId=8025431004&clientType=10020&returnURL=https://m.cloud.189.cn/zhuanti/2020/loginErrorPc/index.html&timeStamp=1697763823784 [2023-10-20 09:03:44.054] do...

同步数据库打开失败,跳过该目录的备份 timeout upload backup命令都是一样的故障 初次运行的三天是正常的第四天就不成了2023年9月24日

crontab定时任务失败,手动可以执行 ``` #!/usr/bin/env bash export CLOUD189_VERBOSE=1 export CLOUD189_CONFIG_DIR=/ql/pan/cloudpan189-go-v0.1.3-linux-amd64 echo "hello qinglong" /ql/pan/cloudpan189-go-v0.1.3-linux-amd64/cloudpan189-go sign ``` 以上代码手动执行成功,定点crontab任务失败,通过打开调试发现,最后停在 get COOKIE_LOGIN_USER by session key 不往下走了,正常应该会继续往下走, 完整调试输出如下: ``` ## 开始执行... 2023-09-20 17:20:01 hello qinglong [2023-9-20...

有时候能正常上传文件,有时候出现报错 报错信息如下: panic: runtime error: index out of range [1] with length 0 goroutine 1 [running]: github.com/tickstep/cloudpan189-api/cloudpan.getLoginParams(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /Users/tickstep/Applications/go/pkg/mod/github.com/tickstep/[email protected]/cloudpan/login.go:151 +0x4b2 github.com/tickstep/cloudpan189-api/cloudpan.Login(0xc00009c9e0, 0xb, 0xc00009ca30,...

如题,文件数量一多的时候有的文件会重复上传,重复基本都是大文件,并且会卡在那一直重复。

类参考 rclone sync,能够支持简单的版本控制。,可以基于文件大小、修改时间。相同文件处理方法:可以有两种,一种是移动到指定的加时间戳后缀命名的文件夹,文件名保持不变,另一种是移动到指定文件夹,文件路径始终不变,但是以文件以文件名+时间戳的形式存储。

/v2/doGreatBenefitTask.action?taskId=TASK_2022_FLDFS_KJ&activityId=ACT_2021_FLDF 这个电信的任务好像也可以的 。

考虑接入ocr进行验证码识别嘛?服务端可以自建填入配置文件,可以参考alist的方案,https://github.com/sml2h3/ddddocr, 测试了几次识别率很高,服务端自建也可以docker一把梭很简单,没什么门槛