mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
fix: use https logo url (fix #937)
This commit is contained in:
@@ -325,7 +325,7 @@ func getrank(count int) int {
|
||||
|
||||
func initPic(picFile string, uid int64) (avatar []byte, err error) {
|
||||
defer process.SleepAbout1sTo2s()
|
||||
avatar, err = web.GetData("http://q4.qlogo.cn/g?b=qq&nk=" + strconv.FormatInt(uid, 10) + "&s=640")
|
||||
avatar, err = web.GetData("https://q4.qlogo.cn/g?b=qq&nk=" + strconv.FormatInt(uid, 10) + "&s=640")
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user