Comments (3)
audio 类是处理B站音频区的,不是视频的音频
先创建 video 实例,调用 video.Video(bvid=bvid).get_download_url()
获取视频的下载信息,里面一般是音视频分离的,可以单独下载音频
如果需要解析调用 video.VideoDownloadURLDataDetecter
bilibili-api/bilibili_api/video.py
Line 2020 in df95d37
from bilibili-api.
参考 https://nemo2011.github.io/bilibili-api/#/examples/video?id=%e7%a4%ba%e4%be%8b%ef%bc%9a%e4%b8%8b%e8%bd%bd%e8%a7%86%e9%a2%91 里面下载的 audio_temp.m4s
为你要的音频,不混流就行了
from bilibili-api.
好的,多谢!
from bilibili-api.
Related Issues (20)
- [提问] Bilibili API将废弃UID转向使用open_id的支持问题 HOT 4
- [提问] 调用开启直播接口时报csrf 校验失败异常 HOT 2
- [提问] 私信消息监听偶尔会重复接收前几次消息 HOT 3
- [功能] 动态替换代理
- [提问] 用于动态更换代理的函数 HOT 1
- [需求] 是否有获取用户对自己的视频的点赞数/投币数的接口? HOT 2
- [漏洞] 使用 `user.User.get_dynamics` 方法获取不到任何动态,且抛出 `TypeError: 'NoneType' object is not iterable` 错误 HOT 5
- [新功能] 添加 `@deprecated` 相关 HOT 3
- 添加发送专栏的api HOT 48
- [提问] 二级评论第二页无法抓取 HOT 2
- [漏洞] 舰长的价格获取出现问题,获取到错误价格 HOT 5
- [提问] 400页以后的评论抓取报错 HOT 5
- [新功能] 如何上传制作的.srt字幕? HOT 8
- [提问] 获取专栏有部分专栏似乎无法正常解析图片 HOT 1
- [漏洞] 上传视频类型若选择转载,即使videoMeta中设置source参数,仍会提示稿件类型为转载时,转载来源不能为空 HOT 6
- pypi新版本发布失败 HOT 5
- [提问] 下载视频 怎么选择想要的清晰度? HOT 7
- [建议] 从底层 request 重构项目 HOT 3
- [提问] 用户获取动态接口获取不到数据 HOT 4
- [漏洞] 老问题 'NoneType' object has no attribute '__dict__'
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 bilibili-api.