Skip to content

使用网盘直链下载助手的脚本无法获取到下载链接 #233

Closed

Description

@zxc110

在夸克网盘网页使用 网盘直链下载助手 和 (改)网盘直链下载助手 这两个脚本时,在脚本猫上运行会提示获取链接失败(网盘直链下载助手则会卡在加载界面),无法获取链接,在 Violentmonkey 和 TamperMonkey 上运行是正常的。

这是“网盘直链下载助手”脚本运行时的日志

2023-09-14 15:16:18 GM XHR JSON parse error {"env":"background","error":"Unexpected token 'I', "Invalid CORS request" is not valid JSON"}
2023-09-14 15:16:18 GM XHR JSON parse error {"env":"background","error":"Unexpected token 'I', "Invalid CORS request" is not valid JSON"}
2023-09-14 15:16:18 GM XHR JSON parse error {"env":"background","error":"Unexpected token 'I', "Invalid CORS request" is not valid JSON"}
2023-09-14 15:15:44 reload new resource success {"env":"background","component":"resource","url":"https://unpkg.com/jquery@3.6.0/dist/jquery.min.js","id":3}
2023-09-14 15:15:44 reload new resource success {"env":"background","component":"resource","url":"https://unpkg.com/js-md5@0.7.3/build/md5.min.js","id":2}
2023-09-14 15:15:44 reload new resource success {"env":"background","component":"resource","url":"https://unpkg.com/sweetalert2@10.16.6/dist/sweetalert2.all.min.js","id":1}
2023-09-14 15:15:43 script upsert success {"env":"background","component":"script","scriptId":0,"name":"网盘直链下载助手","uuid":"c4565147-1a0a-4a40-9b16-2cee4603e04e","version":"6.1.2","upsertBy":{"targetTag":"install","tabId":1899563282,"url":"chrome-extension://ndcooeababalnlpkfedmmbbbgkljhpjf/src/install.html?uuid=a7f4f826-5f69-44b7-85a9-6a33656ac48c"}}

Activity

  1. CodFrm commented on Sep 14, 2023

    @CodFrm
    Member

    是那个功能呢?我点复制链接是可以的,另外你的扩展版本是?

    image
  2. zxc110 commented on Sep 14, 2023

    @zxc110
    Author

    是那个功能呢?我点复制链接是可以的,另外你的扩展版本是?

    image

    我是用的rpc下载,插件版本是0.15.1,都应该是最新的包括脚本,因为我都更新了一遍又试的,然后我又单独下载了个便携版117内核的chrome,安装脚本猫、篡改猴、暴力猴和脚本又试了一遍,结果是一样的。会不会是只有夸克网盘会出现,我没试其他的网盘

  3. CodFrm commented on Sep 14, 2023

    @CodFrm
    Member

    我只试了百度,我试试夸克

  4. added a commit that references this issue on Sep 14, 2023
  5. CodFrm commented on Sep 14, 2023

    @CodFrm
    Member

    问题查到了,ScriptCat默认没有屏蔽掉这个header导致的,已处理,可以试试这个版本 https://github.com/scriptscat/scriptcat/actions/runs/6183317794

    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions