@@ -23,7 +23,7 @@ import (
2323 "github.com/wdvxdr1123/ZeroBot/message"
2424)
2525
26- const bed = "https://gitcode.net/shudorcl/zbp-tarot/-/ raw/master /"
26+ const bed = "https://github.moeyy.xyz/https:// raw.githubusercontent.com/FloatTech/zbpdata/main/Tarot /"
2727
2828type cardInfo struct {
2929 Description string `json:"description"`
@@ -149,7 +149,7 @@ func init() {
149149 }
150150 imgpath := cache + "/" + imgname + ".png"
151151 err := pool .SendImageFromPool (imgpath , func (pth string ) error {
152- data , err := web .RequestDataWith (web .NewTLS12Client (), imgurl , "GET" , "gitcode.net " , web .RandUA (), nil )
152+ data , err := web .RequestDataWith (web .NewTLS12Client (), imgurl , "GET" , "github.moeyy.xyz " , web .RandUA (), nil )
153153 if err != nil {
154154 return err
155155 }
@@ -324,7 +324,7 @@ func poolimg(imgurl, imgname, cache string) (msg message.Segment, err error) {
324324 aimgfile := file .BOTPATH + "/" + imgfile
325325 if file .IsNotExist (aimgfile ) {
326326 var data []byte
327- data , err = web .RequestDataWith (web .NewTLS12Client (), imgurl , "GET" , "gitcode.net " , web .RandUA (), nil )
327+ data , err = web .RequestDataWith (web .NewTLS12Client (), imgurl , "GET" , "github.moeyy.xyz " , web .RandUA (), nil )
328328 if err != nil {
329329 return
330330 }
0 commit comments