masx200 / baidupcs-batch-upload Goto Github PK
View Code? Open in Web Editor NEW使用baidupcs-go,百度网盘批量上传文件,高并发支持,在上传超过几百个文件时,速度快得多
License: MIT License
使用baidupcs-go,百度网盘批量上传文件,高并发支持,在上传超过几百个文件时,速度快得多
License: MIT License
我也有这种批量上传的需求, 好久之前找过https://github.com/iikira/BaiduPCS-Go 这个项目提issue, 不过他们没支持.
所以想着自己写一个, 没想到楼主已经有现成的了, 很感谢.
不过在测试过程中发现, 楼主的工具有点问题, 不支持带空格的目录场景, 例如运行:
npx @masx200/baidupcs-batch-upload --input="I:\2 2" --dest="/test/t s" --concurrent=20
会提示找不到本地文件, 并且如果网盘目录中带空格, 也是有问题的, 上传到其他目录去了.
希望楼主可以修复下哈..我关注着咧
还有最好楼主上传下BaiduPCS-Go.exe的压缩包到项目中呗, 因为我发现原来的项目已经被百度叫去喝茶了, 已经全网封禁了, 多可惜啊 .
我是SVIP 我用百度的客户端下载速度有5M 上传也有1M
下载和上传都稳定到100K.。。需要哪里设置吗?
我直接下载然后运行的。登录账号。。。
我的系统是WIN2012 R2
我是直接双击运行的BaiduPCS-Go.exe 然后用的命令行baidupcs-go.exe upload d:/ff3/666 \1015
结果是这样的。。
需要验证手机或邮箱才能登录
选择一种验证方式
1: 手机:
2: 邮箱: [email protected]
请输入验证方式 (1 或 2) > 2
消息: 验证码已发送至你的邮箱 [email protected]
请输入接收到的验证码 > XXXX
百度帐号登录成功: XXXXXXX
D:\ff3\666>baidupcs-go.exe upload d:/ff3/666 \1015
[1] 加入上传队列: d:/ff3/666/888.mp4
[1] 准备上传: d:/ff3/666/888.mp4
[1] 上传文件失败, 分片上传—文件分片及上传: 网络错误, http 响应错误, 400 Bad Req
uest, 重试 1/3
[1] 准备上传: d:/ff3/666/888.mp4
[1] 上传文件失败, 分片上传—文件分片及上传: 网络错误, http 响应错误, 400 Bad Req
uest, 重试 2/3
[1] 准备上传: d:/ff3/666/888.mp4
[1] 上传文件失败, 分片上传—文件分片及上传: 网络错误, http 响应错误, 400 Bad Req
uest, 重试 3/3
[1] 准备上传: d:/ff3/666/888.mp4
[1] 上传文件失败, 分片上传—文件分片及上传: 网络错误, http 响应错误, 400 Bad Req
uest
上传结束, 时间: 13.903s, 总大小: 0B
以下文件上传失败:
1 d:/ff3/666/888.mp4
无法成功上传啊 请问哪里出错了?
npm i -g @masx200/baidupcs-batch-upload
执行后就是安装完成了吗
我运行
npx @masx200/baidupcs-batch-upload --input=/mnt/sda1/enc91/91all --dest=/91all
显示错误是什么问题
(node:12069) ExperimentalWarning: The ESM module loader is experimental.
file:///usr/lib/node_modules/@masx200/baidupcs-batch-upload/node_modules/@masx200/mini-cli-args-parser/lib/parseargs.js:10
const groups = execArray?.groups;
^SyntaxError: Unexpected token '.'
at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.