BilibiliDown icon indicating copy to clipboard operation
BilibiliDown copied to clipboard

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

Open NoString opened this issue 1 year ago • 1 comments

我已经确认

问题描述 无法单独/批量下载视频 ,提示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)

NoString avatar Jan 28 '24 08:01 NoString

确实是个问题

nICEnnnnnnnLee avatar Feb 07 '24 09:02 nICEnnnnnnnLee

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

github-actions[bot] avatar Mar 09 '24 15:03 github-actions[bot]