Giter Club home page Giter Club logo

Comments (11)

HFrost0 avatar HFrost0 commented on May 30, 2024

没能复现你的错误,这个看上去是解析观看数等状态时报的错,如果还是报错可以试着升级一下pydantic的版本

from bilix.

strobenights avatar strobenights commented on May 30, 2024

找到原因了,有个视频(登录后可见)播放数异常导致实例化失败。好像b站早期某些视频都隐藏播放量了,原因

    'stat': {
            'aid': 1223159,
            'view': '--',
            'danmaku': 3411,
            'reply': 1300,
            'favorite': 24739,
            'coin': 3177,
            'share': 3256,
            'now_rank': 0,
            'his_rank': 0,
            'like': 15340,
            'dislike': 0,
            'evaluation': '',
            'argue_msg': '',
            'viewseo': '--'
        }

from bilix.

HFrost0 avatar HFrost0 commented on May 30, 2024

没想到还有这样的视频,之后会加入对这类视频的处理

from bilix.

HFrost0 avatar HFrost0 commented on May 30, 2024

这个问题解决了,但是可能还是下载不了这种视频(会提示需要大会员或地区不支持),因为年代比较久远b站没有dash的下载方式

from bilix.

strobenights avatar strobenights commented on May 30, 2024

可不可以当没有dash格式时能否尝试获取MP4的视频流,一个建议,谢谢!

https://api.bilibili.com/x/player/playurl?bvid=BV1rx411T7Ad&cid=1837805&fnval=1&qn=32

不过这个接口好像只能返回360p,试了下目前只有jijidown能拿到此类视频最高清晰度,不知道怎么实现的

参考:
https://github.com/SocialSisterYi/bilibili-API-collect/blob/master/docs/video/videostream_url.md
SocialSisterYi/bilibili-API-collect#606

from bilix.

HFrost0 avatar HFrost0 commented on May 30, 2024

既然有人需要的话,后续有时间会弄一下的

from bilix.

strobenights avatar strobenights commented on May 30, 2024

感谢

from bilix.

HFrost0 avatar HFrost0 commented on May 30, 2024

480P视频源嵌入在html中,而360P则是通过接口返回的。💩

from bilix.

HFrost0 avatar HFrost0 commented on May 30, 2024

基于这种情况,预计对这种视频不支持质量选择,也不支持info,仅支持下载

from bilix.

strobenights avatar strobenights commented on May 30, 2024

没事,本来这种视频也是少数特例

from bilix.

HFrost0 avatar HFrost0 commented on May 30, 2024

@strobenights 你提到的下载收藏夹时出现的GET报错问题,可能是因为在收藏夹过大的情况下,某些api请求的并发度没有得到有效控制,从而可能触发b站风控。在下一个版本会修复这个问题

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.