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)
- httpx.RemoteProtocolError: <ConnectionTerminated error_code:0, last_stream_id:1999, additional_data:None> HOT 1
- 根据你们的文档操作,但是不能 HOT 2
- 这个怎么下载字幕呢,用 bilix v https://www.bilibili.com/video/BV18g4y1U7zR --subtitle 不行! HOT 2
- 下载时判断当前目录名,如果所在目录为 videos (不区分大小写) 则不新建目录 HOT 1
- 请求添加自定义输出文件名的功能 HOT 2
- 使用get_up获取某个up的所有投稿视频的时候,可能会获取到已经失效的视频?然后get_video_info就会发生报错?
- 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
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.