refactor: 重命名Message.RawMsg
This commit is contained in:
@@ -12,10 +12,9 @@ func GetSSPicture(qqId string) (outputImgName string) {
|
||||
return ""
|
||||
}
|
||||
url := fmt.Sprintf("https://scoresaber.com/u/%s", ssId)
|
||||
// url := fmt.Sprintf("https://scoresaber.com/rankings")
|
||||
outputImgPath := fmt.Sprintf("./tmp/scoresaber_%s.png", ssId)
|
||||
outputImgName = fmt.Sprintf("scoresaber_%s.png", ssId)
|
||||
if err := util.ScreenshotURL(url, outputImgPath, 1620, 3080, 60, 0, 300, 300, "ranking songs"); err != nil {
|
||||
if err := util.ScreenshotURL(url, outputImgPath, 1420, 2080, 50, 400, 150, 150, ""); err != nil {
|
||||
fmt.Println(err)
|
||||
return ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user