diff --git a/parser_test.go b/parser_test.go index 529d1a0..ca2717e 100644 --- a/parser_test.go +++ b/parser_test.go @@ -45,6 +45,7 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) { for _, data := range adlist { data = strings.Trim(data, "\"") unq, _ := strconv.Unquote("\"" + data + "\"") + unq, _ = strconv.Unquote("\"" + unq + "\"") data = unq var v interface{} json.Unmarshal([]byte(data), &v)