Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

浏览器插件有时无法捕获B站的音频 #700

Closed
flwwater opened this issue Dec 8, 2023 · 2 comments
Closed

浏览器插件有时无法捕获B站的音频 #700

flwwater opened this issue Dec 8, 2023 · 2 comments

Comments

@flwwater
Copy link

flwwater commented Dec 8, 2023

version(>=2.0) :
插件2.3版本

screenshot:
Screenshot_20231208_165633

URL:
https://www.bilibili.com/video/BV1Th411x7ii/?spm_id_from=333.337.search-card.all.click&vd_source=2f139b8fab25b812a4c09b4b3a1b003c

.......
列表里全试了,都是视频,b站大多数网页能检测到音频。
比如这个网页能检测到一个m4s文件,是一个音频文件。
https://www.bilibili.com/video/BV1m94y1J7ej/?spm_id_from=333.1007.tianma.1-1-1.click&vd_source=2f139b8fab25b812a4c09b4b3a1b003c

@filecxx
Copy link
Owner

filecxx commented Dec 15, 2023

浏览器插件可能需要一个新的判断策略,当网站提供的视频和音频格式都相同的时候很难检测出到底哪个才是音频,一个可行的办法是尝试请求每个地址,然后根据分辨率来进行判断,这样也可以做到下载后自动合并,但是浏览器和服务器资源消耗都会比较大,也有IP被webserver屏蔽的风险,不过也优于下载每个文件后来人工判断。

@filecxx
Copy link
Owner

filecxx commented Feb 14, 2024

2.92版本修复了这个BUG,预览里可以看到获取到了音频

image

@filecxx filecxx closed this as completed Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants