This commit is contained in:
suyl
2021-08-10 15:44:28 +08:00
parent 7ed142c1a9
commit 2843356057

View File

@@ -2186,7 +2186,7 @@ func MtUnionJobAutoUpdate(ctx *jxcontext.Context) (err error) {
storeURL := ""
percentage := 0
if v.ActRule != "" {
if storeURLs := regexp.MustCompile(`href=\\\\\\"(.*?)"\\\\\\`).FindStringSubmatch(v.ActRule); len(storeURLs) > 0 {
if storeURLs := regexp.MustCompile(`href="(.*?)"`).FindStringSubmatch(strings.ReplaceAll(v.ActRule, "\\", "")); len(storeURLs) > 0 {
fmt.Println("storeURLs .........................", storeURLs)
storeURL = storeURLs[1]
}