felixonmars / baidupcs-go Goto Github PK
View Code? Open in Web Editor NEWRe-upload of iikira/BaiduPCS-Go
License: Apache License 2.0
Re-upload of iikira/BaiduPCS-Go
License: Apache License 2.0
建议把shell的格式改成linux bash的格式:
$USER@$HOST:$PATH $USERTYPE (例: yanshiqwq@baidupcs-go:/我的资源/ $ )
现在的shell看着不顺眼(bushi
想问下作者,pcs提供的md5是如何计算的?
错误信息:
检测BDUSS有效性网络错误, Post "http://tieba.baidu.com/c/s/login": lookup tieba.baidu.com on 192.168.0.1:53: read udp 192.168.0.108:43261->192.168.0.1:53: i/o timeout
输入:login -bduss=5MdFg0T2dzNzgxWTZid25pVX5BVnlmOW1HVGVMcWVFSDZWcUJCRGFEUmNMajVmSVFBQUFBJCQAAAAAAAAAAAEAAACMOsIh0MfC5bO~AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFyhFl9coRZfSX
然后报错如下:
检测BDUSS有效性json解析出错: invalid character '<' looking for beginning of value
Most of the import module point to the original repo, dose anyone knows how to fix it and build it self?
怎么自己编译啊。。代码里好多import的module都是在原repo里的,难道要一个一个自己修改?!
希望加入这个功能
一次性上传超过几百个文件之后,虽然baidupcs-go显示全部上传成功,但是网盘客户端查看有小部分文件并没有上传成功
BaiduPCS-Go u /storage/emulated/0/Music/ /我的音乐-2020-08-05
上传结束, 时间: 34.37s, 总大小: 41.156827MB
BaiduPCS-Go ls /我的音乐-2020-08-05
当前目录: /我的音乐-2020-08-05/
总: 1.54GB 文件总数: 446, 目录 总数: 0
全部上传完成之后,列出文件夹中的文件,发现文件数量少了几个
大约有1%的文件,虽然显示上传成功,但是实际上并没有真正成功,列出文件的时候数量会比全部文件数少一些
目前无法确定问题是出在百度网盘服务器那边,还是问题出在baidupcs-go这边
但是可以使用meta命令来判断文件是否存在,
BaiduPCS-Go meta /我的音乐-2020-08-05/司夏/司夏-明月顾我.mp3
如果文件不存在,则说明文件实际上上传失败了
获取文件/目录的元信息: 遇到错误, 远端服务器返回错误, 代码: 31066, 消息: 文件或目录不存在
以前加 --locate参数,下载速度很快。现在不管是不是locate 模式,下载速度都很慢。有解决办法吗?
账号是超级会员
版本:BaiduPCS-Go-v3.6.2-linux-amd64/BaiduPCS-Go
命令: d file --save --nocheck
rt
系统: macos
错误信息:
"获取文件列表错误, 获取目录下的文件列表: 遇到错误, 远端服务器返回错误, 代码: 31062, 消息: file name is invalid"
文件名:
Downloads/11.rar
指令:
u /Users/username/Downloads/11.rar
u [本地目录] [\根]
打开上传未完成数据库错误:
pcsupload.UploadingDatabase.UploadingList: []*pcsupload.Uploading: pcsupload.Uploading.isObjectEnd: object ended prematurely, unexpected char i, error found in #1 byte of ...|icemd5":"vC|..., bigger context ...|icemd5":"vCMkhbgnxAwEmJsqNQIW7g==","md5":"vCMkhbgnx|...
一般都是在同时运行多个上传进程的时候出现这个问题
经常在上传文件的时候遇到这个问题,以前一直都存在这个问题
"上传未完成数据库"存在的意义是什么?没有它会影响上传文件吗?
至于错误的原因,猜测可能是由于多个进程在读写同一个文件,导致冲突
由于本人使用baidupcs-go开多个进程并发上传文件,所以经常遇到这种问题
能支持多进程同时运行上传吗?
Now that Baidu have dubox, which is almost same as pan.baidu.com. So, making url configurable is good idea to support dubox.
我准备写个脚本批量上传文件,但但是如果遇到上传失败的文件的话我想知道是哪个文件上传失败了
在shell里面运行的话上传成功和上传失败的返回值是一样的吗
根本找不到程序啊...build.sh明显也不是用来运行的。
经过测试,将host设置为 http://pcs.baidu.com/rest/2.0/pcs/file?app_id=250528&method=locateupload 这个地址内的host,在专线条件下2G以下单文件不使用分片能够提速2.5倍左右,在家用网络下提升不明显
为什么取消了资源转存功能
mv,ls这些命令操作起来太慢了
https://github.com/qjfoidnh/BaiduPCS-Go
我是之前那个有转存功能的修改版作者,出于一些私人原因还在维护这个项目。有空的话会尽量解决一些问题(虽然不一定有空...)
需要验证手机或邮箱才能登录
选择一种验证方式
1: 手机: 未找到手机号
2: 邮箱: 未找到邮箱地址
请输入验证方式 (1 或 2) >
手机号未找到,自然收不到验证码了!
怎么解决这个问题呀?
谢谢!
检测BDUSS有效性json解析出错: EOF
使用login登录 输入账户名和密码 验证码之后显示这个错误 但是在其它server上就行
RT :别人分享 给我的 地址 和 密码,我需要先手动转存到自己的网盘,才能用 咋们的工具下载,是否可以增加转存的 功能 ?
This error occurred on 11/128 chance in my first usage.
I don't know if anybody can reproduce this error, but I did complete my download tasks with a small tweak.
PR is creating.
我注意到我使用的BaiduPCS是oldiy/Docker基于iikira的BaiduPCS-GO和liuzhuoling的baidupcs-web封装的docker容器,现在这三位作者都已删除了BaiduPCS相关的代码库,手头上的docker容器中运行的BaiduPCS-GO是3.6.7版本,运行BaiduPCS-GO程序时进入的是web服务器的侦听模式,侦听了5299端口,然后通过baidupcs-web访问http://localhost:5299进行操作。
不知道这个3.6.7版本BaiduPCS-GO和felixonmars的3.6.2版本的BaiduPCS-GO是什么关系,貌似都以iikira的BaiduPCS-GO为基础分别发展的。
目前其他作者都停止维护BaiduPCS-GO了,希望felixonmars的版本可以继续发展下去,并期望能增加一个web命令用于web服务器的侦听模式,而不是CLI交互模式。
[1] 将会下载到路径: portable.zip
[1] ↓ 188.48MB/188.58MB 20.19KB/s in 48m41s, left 5s ..................
[1] 下载完成, 保存位置: portable.zip
[1]
下载结束, 时间: 48m42.818s, 数据总量: 0B
以下文件下载失败:
1 /portable.zip
执行meta 命令查询路径中包含"["或者"]"都会出错,stdout和stderr都 没有任何输出有效信息
$ BaiduPCS-Go meta /[
注:分享链接转存功能无法使用,可使用-cookies参数重新登录以启用
$ BaiduPCS-Go meta /[a
注:分享链接转存功能无法使用,可使用-cookies参数重新登录以启用
$ BaiduPCS-Go meta /]
注:分享链接转存功能无法使用,可使用-cookies参数重新登录以启用
$ BaiduPCS-Go meta /m
注:分享链接转存功能无法使用,可使用-cookies参数重新登录以启用
[0] - [/m] --------------
获取文件/目录的元信息: 遇到错误, 远端服务器返回错误, 代码: 31066, 消息: 文件或目录不存在
$
手机扫描二维码登录
小龙云网盘是基于IPFS的,使用体验很好,非常快。希望作者能给开发一个客户端。
你好,
请问如何挂后台下载,我使用nohup download file ./ &,报错:BaiduPCS-Go: BaiduPCS-Go: cannot execute binary file
请问如何解决呢?
谢谢!
BaiduPCS-Go-v3.6.2-linux-arm64
login
请输入百度用户名(手机号/邮箱/用户名), 回车键提交 > masx20
请输入密码(输入的密码无回显, 确认输入完成, 回车提交即可) >
错误代码: -1, 消息: 网络请求失败, Post
"https://wappass.baidu.com/wp/api/login":
lookup wappass.baidu.com on [::1]:53:
read udp [::1]:50119->[::1]:53:
read: connection refused
release 也不见了
u file .
[1] 上传文件失败, 分片上传—合并分片文件: 遇到错误, 远端服务器返回错误, 代码: 31023, 消息: request body param error, it must be:param={"block_list":["file_0_md5","file_1_md5",....]}, 重试 1/3
请问可以用这个工具实现下载带验证码的百度分享链接里的内容吗?
谢谢
windows 下不加这两个参数会报错
Shocked to realize that iikira/BaiduPCS-Go has been eliminated. Visited the project just one month or so ago, still active then.
So has the appveyor link where latest builds were regularly issued.
So has the QQ group, which cannot be searched for now.
What happened? And when did that happen? Will there be further updates on the project here or somewhere else?
Thx for any info.
hi,
我在下载文件的时候遇到了如下的报错:
Get https://nb.cache.baidupcs.com/file/****: x509: certificate is valid for baidu.com, 其他一堆地址, not nb.cache.baidupcs.com
我使用的是locate模式,我尝试了其他模式,不是相同的错误就是下载速度非常慢,我有会员。
不知道你们是否有遇到相同的问题?还请帮忙看下_(:з」∠)_
$ ./BaiduPCS-Go u ~/NYU_summer_intern /NYU_summer_intern
警告: 遍历错误: lstat /home/lyunfan/NYU_summer_intern/deep-high-resolution-net.pytorch/NYUpose/bin/python/: not a directory
未检测到上传的文件.
$ ls -hl /home/lyunfan/NYU_summer_intern/deep-high-resolution-net.pytorch/NYUpose/bin/python
lrwxrwxrwx 1 lyunfan lyunfan 7 6月 5 15:37 /home/lyunfan/NYU_summer_intern/deep-high-resolution-net.pytorch/NYUpose/bin/python -> python2
登陆账号输完密码提示错误代码:-1,信息:网络请求失败,应该怎么弄,termux上运行的
获取文件/目录的元信息: 网络错误, Post "http://pcs.baidu.com/rest/2.0/pcs/file?app_id=266719&method=meta": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
在某些文件夹中,我会有大量中文名开头的文件或目录,我必须输入大量中文,或者是 TAB 无数次才能准确的操作我需要的文件或目录。ls 中提供了序号,但是我没有找到文档中提供根据序号操作的方法。
例如我的 ls 输出如下信息:
----
# 文件大小 修改日期 文件(目录)
0 - 2019-09-30 16:19:44 壁纸/
1 - 2019-09-29 15:30:17 词典/
2 - 2020-02-10 11:55:30 工具/
3 - 2019-10-29 01:07:03 配置/
4 - 2020-04-09 09:31:00 头像/
5 - 2019-09-29 15:30:22 系统/
6 - 2019-09-29 15:35:39 字体/
总: 0B 文件总数: 0, 目录总数: 7
----
我想要 cd 进入“系统”目录,我需要输入 cd 系,再加上一次 TAB 才能进入该目录
能否让我只输入例如 cd #5,直接进入该目录?
https://blog.jixun.moe/du-code-gen
<完整 MD5> # <片段 MD5> # <文件长度> # <文件名>
D2EC6CFA7CF6D89E484AA2D9F830517C#E4CE1D9695CB6A550CD33A4BAE9AA0F4#713031680#CentOS-7-x86_64-Minimal-1611.iso
秒传功能其实一直是已经实现了的状态吧
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.