Giter Club home page Giter Club logo

Comments (6)

HFrost0 avatar HFrost0 commented on May 14, 2024 1

重新打开了issue #16 ,之后对这个问题进一步处理

from bilix.

HFrost0 avatar HFrost0 commented on May 14, 2024 1

对这个链接https://www.bilibili.com/video/BV16S4y1p7Dg我今天又尝试了一下,3次HEAD 404后转GET成功避免了问题,因此对于多P的异常处理暂时保持原状,如果有需求再打开吧

from bilix.

HFrost0 avatar HFrost0 commented on May 14, 2024

👋,之前考虑到发生错误并超过重试次数时往往是被b站ban了,或者有严重的网络问题,所以直接终止程序。

目前对于HEAD问题做的处理是向备选服务器发起请求,目前使用最新版本你仍然遇到了超过重复次数的问题吗?一个临时的解决办法是使用参数-p来指定下载的范围从而跳过抽风的p

关于某一p出错其他p继续下载的问题,asyncio.gather提供了return_exceptions这样的参数,所以我想改起来其实很方便,但我仍然倾向于默认情况下终止用户的整个进程,并可以提供一个可选参数来使用户选择跳过发生异常的p

from bilix.

showthesunli avatar showthesunli commented on May 14, 2024

image
对,仍然是碰到超过重复次数。

上面的截图没有截全,但是异常全部都是这个HEAD的问题

from bilix.

showthesunli avatar showthesunli commented on May 14, 2024

@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.

HFrost0 avatar HFrost0 commented on May 14, 2024

我的正常,说实话这种问题很难复现,可能b站根据地区不同会CDN不同的服务器

from bilix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.