Comments (12)
Sound like a bug, will take a look. Thanks for the feedback.
from bypy.
试了最新版,还是不行,这次也创建了文件,但大小为零。
from bypy.
未能重现问题,我再看看。
from bypy.
如果出现这个错误:
data = self._sock.recv(left)
timeout: timed out
Abort
可能是百度网络超时(不能完全确定)
from bypy.
刚刚试了最新版,貌似正在下载那个300mb的文件,目前已经下载了30mb。
等一下我再报告一下。
from bypy.
这次下载了33,554,432 bytes之后就停了。
程序没有出错,只是停在那里:
<D> Downloading '/apps/bypy/VIDEO_TSVTS_04_1.VOB' as 'VIDEO_TSVTS_04_1.VOB'
<D> Checking if we already have the copy locally
<D> GET https://d.pcs.baidu.com/rest/2.0/pcs/file
<D> actargs: (u'/apps/bypy/VIDEO_TSVTS_04_1.VOB', 0)
<D> Params: {u'path': u'/apps/bypy/VIDEO_TSVTS_04_1.VOB', u'method': u'download'}
<D> HTTP Status Code: 200
<D> Request OK, processing action
按了 ctrl-c 之后:
^CSignal 2 received, Abort
Frame:
<frame object at 0x55b9a0>
Not saving Hash Cache since 'dirty' is 'False' and 'force_saving' is 'False'
from bypy.
这样啊,我试试下载一个1G的文件看看怎么样。
不过现在应该支持断点续传了,Ctrl-C后再跑一下同样的命令,应该可以续传。
from bypy.
试了一下最新版本:
git pull
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From https://github.com/houtianze/bypy
3fa420f..18b34ec master -> origin/master
Updating 3fa420f..18b34ec
Fast-forward
bypy.py | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
目前已经下载了75mb,看这次能否下完。
from bypy.
这次下载了106,954,752 bytes, 又停住了。
from bypy.
又改正了一下,最新版我测试一下好像可以断点续传了。
我下载4G多的东西,到1.2G没问题,然后我就Ctrl-C了。
有时候下载开始,Python Requests库就直接timed out,不会下载。感觉像是网盘的网络问题,不过暂时想不到如何应对解决。。
from bypy.
这个和我的情况差不多,大文件中间要断很多回,重新跑就能再多下些。如果有重试功能就好了。
from bypy.
考虑改进中,这个周末也许会完成。
from bypy.
Related Issues (20)
- upload开了会员,依然被限速 HOT 6
- You need to authorize this program before using any PCS functions. HOT 1
- 更新最新版本后,一直出现错误提示 HOT 1
- syncup失败 HOT 4
- syncup前后文件名和文件大小一致,但因md5校验码不同被判定为不同文件 HOT 1
- Questions about Copilot + Open Source Software Hierarchy
- 每次上传要报错一次,不知道有没有影响 HOT 3
- 一直授权不成功,http error, 贴出了bypy -dv info HOT 1
- Error accessing 'https://pcs.baidu.com/rest/2.0/pcs/file' HOT 3
- 授权不成功 HOT 1
- Trigger security policy 错误 HOT 1
- 无法获得授权 HOT 1
- 无法调用bypy info命令 HOT 11
- bypy info 绑定失败 HOT 1
- 执行两次一样的上传命令会导致文件被删除 HOT 3
- 放个收款码吧,用着都不好意思了哈哈😂
- 下载到服务器一直等待 HOT 1
- 无法进行授权Token refreshing failed
- 目录问题
- 上传单个文件报错码 31112 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bypy.