weixin_39525355
weixin_39525355
2021-01-12 01:21

附加功能 - 下载弹幕 (ASS) 时弹出 e is undefined 错误

关于哪一项功能 附加功能 → 下载弹幕 (ASS)

问题描述

应该是所有的视频的 ASS 弹幕下载功能都不行,比如 BV1Et4y1i7YG

脚本版本 Bilibili Evolved (Preview Offline) Version 880.20

浏览器版本 Firefox 83.0 (64 bit)

错误信息

e is undefined

`
start ass Bilibili Evolved (Preview Offline).user.js:13203:1352582
debug: fetch https://api.bilibili.com/x/v2/dm/web/view?type=1&oid=250249487&pid=627509127 undefined 解除B站区域限制.user.js:225:38
segment count = 4 Bilibili Evolved (Preview Offline).user.js:13203:2403485
debug: fetch https://api.bilibili.com/x/v2/dm/web/seg.so?type=1&oid=250249487&pid=627509127&segment_index=1 undefined 解除B站区域限制.user.js:225:38
debug: fetch https://api.bilibili.com/x/v2/dm/web/seg.so?type=1&oid=250249487&pid=627509127&segment_index=2 undefined 解除B站区域限制.user.js:225:38
debug: fetch https://api.bilibili.com/x/v2/dm/web/seg.so?type=1&oid=250249487&pid=627509127&segment_index=3 undefined 解除B站区域限制.user.js:225:38
debug: fetch https://api.bilibili.com/x/v2/dm/web/seg.so?type=1&oid=250249487&pid=627509127&segment_index=4 undefined 解除B站区域限制.user.js:225:38
gwdang-notifier-ff.js:20:27241
received blob for segment 4 
Blob { size: 0, type: "application/octet-stream" }
Bilibili Evolved (Preview Offline).user.js:13203:2403760
received blob for segment 3 
Blob { size: 0, type: "application/octet-stream" }
Bilibili Evolved (Preview Offline).user.js:13203:2403760
received blob for segment 2 
Blob { size: 0, type: "application/octet-stream" }
Bilibili Evolved (Preview Offline).user.js:13203:2403760
received blob for segment 1 
Blob { size: 292984, type: "application/octet-stream" }
Bilibili Evolved (Preview Offline).user.js:13203:2403760
get json danmaku Bilibili Evolved (Preview Offline).user.js:13203:1352644
Object { font: "黑体", alpha: 0.19999999999999996, duration: duration(t), blockTypes: (2) […], resolution: {…}, bottomMarginPercent: 0, bold: false, title: "AV627509127 - 20201215 - 在魔王城说晚安 - 第3话 公主和禁断的睿智", blockFilter: blockFilter(e)
 }
Bilibili Evolved (Preview Offline).user.js:13203:1351896
get config Bilibili Evolved (Preview Offline).user.js:13203:1352701

TypeError: e is undefined
    get xmlDanmakus/< moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    get xmlDanmakus moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    c moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    i moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
Bilibili Evolved (Preview Offline).user.js:13203:1167
    logError moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    i moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    T eval:3
    A eval:9
    T eval:3
    E eval line 1 > Function:43
    enhance eval line 1 > Function:56
    loadLazyPanel moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    loadLazyPanel moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    loadLazyPlayerSettingsPanel moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    loadDanmakuSettingsPanel moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    n moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    c moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    i moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
pakku panel: script injected, D.length = 3445 all_injected.js:2:18218
pakku injector: stardust detected all_injected.js:2:18787
pakku injector: root_elem 

all_injected.js:2:19393
pakku injector: list_elem 
<div class="player-auxiliary-danmaku-wrap" style="height: 319px;"> player_elem 
<div class="bilibili-player-area vid…ause video-control-show" aria-label="哔哩哔哩播放器">
all_injected.js:2:19577
pakku panel: removing previous hook listener all_injected.js:2:13048
pakku panel: script injected, D.length = 3445 all_injected.js:2:18218
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://data.bilibili.com/log/web?00111416080099840031608009984002|ogv|2.47.3-d08ab827|danmaku_setting||cfc590e6b005ba8ac5434b7e832263b2|34407|341101|627509127|250249487|1|0|4|3|2|3|112|0||||{%22pcdn_video_type%22:%22dash%22,%22pcdn_stage%22:%22release%22,%22pcdn_group%22:%22nil%22,%22pcdn_version%22:%22nil%22,%22pcdn_vendor%22:%22nil%22,%22qn%22:112}. (Reason: CORS request did not succeed).

pakku injector: root_elem not found


<p><strong>附加截图</strong>
<img alt="UNDEFINED" src="https://img-blog.csdnimg.cn/img_convert/a36092721fd613106171fa46f0848c23.png"></p></div></div>

该提问来源于开源项目:the1812/Bilibili-Evolved

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39556474 weixin_39556474 4月前

    如果关闭其他相关脚本和插件呢

    点赞 评论 复制链接分享
  • weixin_39525355 weixin_39525355 4月前

    如果关闭其他相关脚本和插件呢

    尝试了关闭 Pakku 哔哩哔哩弹幕过滤器 (https://s.xmcp.ml/pakkujs/?src=wext_homepage),可以了下载 ASS 弹幕了, 不过即使在开启上述插件的时候,使用下载视频功能,选择下载 ASS 弹幕,生成的 ZIP 文件也是有 ASS 弹幕的,

    不知道能否提高一下兼容性?

    点赞 评论 复制链接分享
  • weixin_39556474 weixin_39556474 4月前

    因为之前有过 ASS 弹幕不完整的问题 (#1093) 换了能完整下载的方案后跟 pakku 有点冲突, 目前还不稳定, 下载视频那里还没换所以是正常的

    点赞 评论 复制链接分享
  • weixin_39525355 weixin_39525355 4月前

    脚本版本 Bilibili Evolved Preview Offline) Version 882.74

    在关闭了 Pakku 的情况下会显示 undefined has no properties,更无法下载弹幕了

    mm,换到了离线版 Bilibili Evolved (Offline) 857.15,使用相同的设置也是这样, 唯一可以想到的变量就是升级到了 Firefox 84.0 (ΩДΩ)

    
    start ass Bilibili Evolved (Preview Offline).user.js:13203:1353849
    segment count = 5 Bilibili Evolved (Preview Offline).user.js:13203:2405549
    received blob for segment 5 
    Blob { size: 0, type: "application/octet-stream" }
    Bilibili Evolved (Preview Offline).user.js:13203:2405824
    received blob for segment 1 
    Blob { size: 124678, type: "application/octet-stream" }
    Bilibili Evolved (Preview Offline).user.js:13203:2405824
    received blob for segment 4 
    Blob { size: 131887, type: "application/octet-stream" }
    Bilibili Evolved (Preview Offline).user.js:13203:2405824
    received blob for segment 3 
    Blob { size: 98190, type: "application/octet-stream" }
    Bilibili Evolved (Preview Offline).user.js:13203:2405824
    received blob for segment 2 
    Blob { size: 183764, type: "application/octet-stream" }
    Bilibili Evolved (Preview Offline).user.js:13203:2405824
    get json danmaku Bilibili Evolved (Preview Offline).user.js:13203:1353911
    Object { font: "黑体", alpha: 0.19999999999999996, duration: duration(t), blockTypes: (2) […], resolution: {…}, bottomMarginPercent: 0, bold: false, title: "AV800621239 - 20201217 - 魔女之旅 - 第11话 两个徒弟", blockFilter: blockFilter(e)
     }
    Bilibili Evolved (Preview Offline).user.js:13203:1353163
    get config Bilibili Evolved (Preview Offline).user.js:13203:1353968
    TypeError: undefined has no properties
        get xmlDanmakus/< moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        get xmlDanmakus moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        c moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        i moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    Bilibili Evolved (Preview Offline).user.js:13203:1167
        logError moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        i moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        T eval:3
        A eval:9
        T eval:3
        E eval line 1 > Function:43
        enhance eval line 1 > Function:56
        loadLazyPanel moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        loadLazyPanel moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        loadLazyPlayerSettingsPanel moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        loadDanmakuSettingsPanel moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        n moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        c moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
        i moz-extension://2e950553-d611-410e-ad55-3f68d74405a9/userscripts/Bilibili Evolved (Preview Offline).user.js?id=d1993cf1-025c-41c2-904b-220e26a8d2e7:13203
    
    点赞 评论 复制链接分享

相关推荐