-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
断点续传和频道下载 #2
Comments
断点续传我之前也想过但是不会 233,频道下载指的是 up 主的所有投稿吗 |
网上看到的说以 不过我的情况好象是,网络不好有时候会断,线程报异常中止了。 |
看了下下载部分的代码,我当时的做法是如果已经存在就认为下载完成,直接设置进度条 100% 然后有个问题是我是用的是 urllib.request.urlretrieve 来下载视频,我看里面是以 有个想法是把后半部分下载为另一个视频,完了之后将两个合并 |
频道是,比如我现在想下载这个链接看一下https://space.bilibili.com/97068901/channel/detail?cid=54167 |
这样子,感觉跟一个收藏差不多 |
如上图,我的下载都是一部分然后失败了
应该是网络的原因,然后我选中第一个再次下载直接显示100%了,如果没法再次下载。能否添加个清空的选项。然后就可以点击下载来重新下载了。 |
我上面说了啊 如果已经存在下载的文件 再次下载就会直接显示进度 100% |
抱歉,当时没看明白。。 |
作者辛苦了 |
urllib.request.urlretrieve 函数来进行下载 |
是否考虑支持断点续传和频道下载呢?
The text was updated successfully, but these errors were encountered: