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

下载480P视频时,出现无法找到该quality #180

Closed
NoString opened this issue Jan 28, 2024 · 2 comments
Closed

下载480P视频时,出现无法找到该quality #180

NoString opened this issue Jan 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@NoString
Copy link

NoString commented Jan 28, 2024

我已经确认

问题描述
无法单独/批量下载视频 ,提示quality not found

相关信息

  • 当前系统(windows/linux等):win 10
  • java版本:
    java version "1.8.0_111"
    Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
  • 相关链接或者BV号: BV1uW411f72n
  • 账号是否登录:是
  • 在网页端观看是否存在问题:否
  • 是否存在自定义parsers:没设置过,应该是没有吧
  • 相关log
------------------------------
MJTab label的点击事件
你点击了次下载按钮...
查询记录BV1uW411f72n-16-p1
匹配BVParser: BV1uW411f72n
InputParser-selectParser/66 : BV1uW411f72n
匹配BVParser: BV1uW411f72n
正在查询MP4/FLV链接...
API-getWbiUrl/109 : https://i0.hdslb.com/bfs/wbi/7cd084941338484aae1ad9425b84077c.png
API-getWbiUrl/113 : https://i0.hdslb.com/bfs/wbi/4932caff0ff746eab6f01bf08b70ac45.png
API-getWbiUrl/115 : 7cd084941338484aae1ad9425b84077c4932caff0ff746eab6f01bf08b70ac45
AbstractBaseParser-getVideoLinkByFormat/312 : https://api.bilibili.com/x/player/wbi/playurl?cid=53736602&bvid=BV1uW411f72n&qn=16&type=&otype=json&fnver=0&fnval=4048&fourk=1&w_rid=5e6ac08c6c9bff76dd1b6e708795b18a&wts=1706431245
{"code":0,"message":"0","ttl":1,"data":{"v_voucher":"voucher_3fd6ba6c-0781-4a68-a71e-1a25cb22ff81"}}

Exception in thread "pool-1-thread-1" org.json.JSONException: JSONObject["quality"] not found.
        at org.json.JSONObject.get(JSONObject.java:580)
        at org.json.JSONObject.getNumber(JSONObject.java:719)
        at org.json.JSONObject.getInt(JSONObject.java:742)
        at nicelee.bilibili.parsers.impl.AbstractBaseParser.getVideoLinkByFormat(AbstractBaseParser.java:328)
        at nicelee.bilibili.parsers.impl.AbstractBaseParser.getVideoLink(AbstractBaseParser.java:231)
        at nicelee.bilibili.parsers.InputParser.getVideoLink(InputParser.java:121)
        at nicelee.ui.thread.DownloadRunnable.download(DownloadRunnable.java:91)
        at nicelee.ui.thread.DownloadRunnable.run(DownloadRunnable.java:60)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
你点击了次下载按钮...
查询记录BV1uW411f72n-16-p2
匹配BVParser: BV1uW411f72n
InputParser-selectParser/66 : BV1uW411f72n
匹配BVParser: BV1uW411f72n
正在查询MP4/FLV链接...
AbstractBaseParser-getVideoLinkByFormat/312 : https://api.bilibili.com/x/player/wbi/playurl?cid=53736604&bvid=BV1uW411f72n&qn=16&type=&otype=json&fnver=0&fnval=4048&fourk=1&w_rid=d2064c250c0c65eb2c603cab31ebab1e&wts=1706431251
{"code":0,"message":"0","ttl":1,"data":{"v_voucher":"voucher_47e67b0e-0661-4469-bfbf-6d43d53aea60"}}

Exception in thread "pool-1-thread-2" org.json.JSONException: JSONObject["quality"] not found.
        at org.json.JSONObject.get(JSONObject.java:580)
        at org.json.JSONObject.getNumber(JSONObject.java:719)
        at org.json.JSONObject.getInt(JSONObject.java:742)
        at nicelee.bilibili.parsers.impl.AbstractBaseParser.getVideoLinkByFormat(AbstractBaseParser.java:328)
        at nicelee.bilibili.parsers.impl.AbstractBaseParser.getVideoLink(AbstractBaseParser.java:231)
        at nicelee.bilibili.parsers.InputParser.getVideoLink(InputParser.java:121)
        at nicelee.ui.thread.DownloadRunnable.download(DownloadRunnable.java:91)
        at nicelee.ui.thread.DownloadRunnable.run(DownloadRunnable.java:60)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
@nICEnnnnnnnLee
Copy link
Owner

nICEnnnnnnnLee commented Feb 7, 2024

确实是个问题

@nICEnnnnnnnLee nICEnnnnnnnLee added the bug Something isn't working label Feb 7, 2024
nICEnnnnnnnLee added a commit that referenced this issue Feb 23, 2024
* 新增: 添加功能,可以周期性地进行“一键下载”,并通报结果。
* 优化: 现在按平台和架构编译了四个版本ffmpeg,缺省时符合条件的会提示进行下载:`win_amd64`、`linux_amd64`、`win_arm64`、`linux_arm64`
* 优化: 现在补充完善了浏览器指纹等方面的cookie,期望是预防风控 #177, #180
    + 因为尚不清楚相关机制,目前`通过API上传指纹`这一动作只在`刷新cookie`时才会进行。在遇到风控时,不妨先试一试菜单栏里的`刷新cookie`选项。
    + 现在最好不要随意修改配置的UA,如果必要,需要在隐私模式下抓取cookie并抓包相应API的payload。详见配置页。
* 修复: #182 考虑在`UP主所有视频`类型的链接解析时,keyword中含有空格的情况。
* 删除: 移除解析分页链接时`promptAll`模式相关代码。
Copy link

github-actions bot commented Mar 9, 2024

由于长期没有状态更新,该问题自动关闭。如有需要可重新打开。

@github-actions github-actions bot closed this as completed Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants