Coder Social home page Coder Social logo

Comments (17)

MCBBC avatar MCBBC commented on May 23, 2024

需要这样请求

QQ截图20230210201946

而不是使用HTTP GET请求内容

from koishi-plugin-blockly.

yosoro11111111 avatar yosoro11111111 commented on May 23, 2024

但是我是vits请求啊,不是我的服务器固定语音

from koishi-plugin-blockly.

MCBBC avatar MCBBC commented on May 23, 2024

但是我是vits请求啊,不是我的服务器固定语音

语音这个方法包含了HTTP GET,不需要额外的使用HTTP GET方法

from koishi-plugin-blockly.

yosoro11111111 avatar yosoro11111111 commented on May 23, 2024

但是,我这个请求的是一个网址,然后还要再次请求网址的语音,是这样的

from koishi-plugin-blockly.

MCBBC avatar MCBBC commented on May 23, 2024

但是,我这个请求的是一个网址,然后还要再次请求网址的语音,是这样的

请问第一次请求返回的内容是什么

from koishi-plugin-blockly.

MCBBC avatar MCBBC commented on May 23, 2024

但是,我这个请求的是一个网址,然后还要再次请求网址的语音,是这样的

有没有可能blockly没办法直接获取本地的文件,你需要提供一个http链接

from koishi-plugin-blockly.

yosoro11111111 avatar yosoro11111111 commented on May 23, 2024

具体点,就是api返回一个C:\Users\Administrator\AppData\Local\Temp\2\tmpygr5blt2.wav

from koishi-plugin-blockly.

MCBBC avatar MCBBC commented on May 23, 2024

具体点,就是api返回一个C:\Users\Administrator\AppData\Local\Temp\2\tmpygr5blt2.wav

这种形式的链接是无法被访问的,您需要提供 http://xxx 这种形式的才可以,因为是系统限制

from koishi-plugin-blockly.

yosoro11111111 avatar yosoro11111111 commented on May 23, 2024

image

from koishi-plugin-blockly.

MCBBC avatar MCBBC commented on May 23, 2024

image

浏览器里面,可以正确的访问到文件吗

from koishi-plugin-blockly.

yosoro11111111 avatar yosoro11111111 commented on May 23, 2024

可以

from koishi-plugin-blockly.

yosoro11111111 avatar yosoro11111111 commented on May 23, 2024

http://yosoro.site:9999/file=C://Users//Administrator//AppData//Local//Temp//2//tmp8wref2yu.wav

from koishi-plugin-blockly.

MCBBC avatar MCBBC commented on May 23, 2024

http://yosoro.site:9999/file=C://Users//Administrator//AppData//Local//Temp//2//tmp8wref2yu.wav

临时解决方法:插件配置->gocqhttp->启用message.ignore-invalid-cqcode
123

然后重载gocqhttp插件配置即可

from koishi-plugin-blockly.

MCBBC avatar MCBBC commented on May 23, 2024

http://yosoro.site:9999/file=C://Users//Administrator//AppData//Local//Temp//2//tmp8wref2yu.wav

wav格式目前看来无法支持(?),请转换为mp3格式,并且按照上面方法设置后即可

111
112
113

from koishi-plugin-blockly.

yosoro11111111 avatar yosoro11111111 commented on May 23, 2024

image
还是不行,我已经把链接变成mp3格式得了,也可以访问,koishi的onebot不能访问

from koishi-plugin-blockly.

yosoro11111111 avatar yosoro11111111 commented on May 23, 2024

http://yosoro.site/download?filename=tmpf4_vf08k.mp3

from koishi-plugin-blockly.

TimeBather avatar TimeBather commented on May 23, 2024

目前这个Issue有任何进展吗?如果没有我将会于本周末close

from koishi-plugin-blockly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.