diff --git a/parser_test.go b/parser_test.go index 6280b20..a4c4c3f 100644 --- a/parser_test.go +++ b/parser_test.go @@ -44,12 +44,12 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) { for _, data := range adlist { data = strings.Trim(data, "\"") - unq, err := strconv.Unquote("\"" + data + "\"") + unq, err := strconv.Unquote(data) if err != nil { log.Println(err) } else { - unq, err = strconv.Unquote("\"" + unq + "\"") + unq, err = strconv.Unquote(unq) if err != nil { log.Println(err) } else {