Comments (6)
重新打开了issue #16 ,之后对这个问题进一步处理
from bilix.
对这个链接https://www.bilibili.com/video/BV16S4y1p7Dg
我今天又尝试了一下,3次HEAD 404后转GET成功避免了问题,因此对于多P的异常处理暂时保持原状,如果有需求再打开吧
from bilix.
👋,之前考虑到发生错误并超过重试次数时往往是被b站ban了,或者有严重的网络问题,所以直接终止程序。
目前对于HEAD问题做的处理是向备选服务器发起请求,目前使用最新版本你仍然遇到了超过重复次数的问题吗?一个临时的解决办法是使用参数-p
来指定下载的范围从而跳过抽风的p
关于某一p出错其他p继续下载的问题,asyncio.gather
提供了return_exceptions
这样的参数,所以我想改起来其实很方便,但我仍然倾向于默认情况下终止用户的整个进程,并可以提供一个可选参数来使用户选择跳过发生异常的p
from bilix.
上面的截图没有截全,但是异常全部都是这个HEAD
的问题
from bilix.
@HFrost0 请问你能不能尝试下载这个视频https://www.bilibili.com/video/BV16S4y1p7Dg
。我今天仍然是HEAD
请求报错,我不确定到底是B站的问题还是我的问题。
下面是我的下载命令
bilix s https://www.bilibili.com/video/BV16S4y1p7Dg --dir E:/tmp --subtitle --max-con 10
bilix版本是 0.6.11
from bilix.
我的正常,说实话这种问题很难复现,可能b站根据地区不同会CDN不同的服务器
from bilix.
Related Issues (20)
- ImportError due to deprecated 'cgi' module in Python 3.13
- 0.18.6 regression test failure HOT 6
- api错误 HOT 1
- 报错
- 报错 HOT 2
- bilix.exception.APIParseError: APIParseError Caused by KeyError in <bilix.sites.bilibili.api:get_up_video_info> HOT 1
- python和vc++都是最新的,为啥报错 HOT 2
- Specify profile directory with from-browser
- Python 调用如何使用cookie? HOT 1
- bilix0.18.8执行报错 HOT 4
- mac下载的视频文件只有音频,没有画面 HOT 4
- 下载b站视频合集时,raise EndOfStream from None
- New feat: BaseDownloader can switch to faster url when provided multiple urls for same resource
- 请问可以通过api接口的形式访问吗 HOT 8
- 下载收藏夹视频报错:Can't find any handler for method: 'get_favour' keys HOT 2
- Documents URL Link not working HOT 1
- [增加]按照UP主的文字分类存放
- 【bilix get_up 】KeyError: 'list' HOT 2
- [Suggest] 移除pyexecjs依赖
- get_up 命令提示Can't find any handler for method: 'get_up' HOT 5
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 bilix.