We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f3dd37 commit 44e9966Copy full SHA for 44e9966
1 file changed
plugin/image_finder/keyword.go
@@ -5,6 +5,7 @@ import (
5
"encoding/json"
6
"errors"
7
"math/rand"
8
+ "net/url"
9
"strings"
10
11
zero "github.com/wdvxdr1123/ZeroBot"
@@ -69,7 +70,7 @@ func init() {
69
70
71
// soutuapi 请求api
72
func soutuapi(keyword string) (r resultjson, err error) {
- data, err := web.GetData("https://copymanga.azurewebsites.net/api/pixivel?" + keyword + "?page=0")
73
+ data, err := web.GetData("https://copymanga.azurewebsites.net/api/pixivel?" + url.QueryEscape(keyword) + "?page=0")
74
if err != nil {
75
return
76
}
0 commit comments