This commit is contained in:
eson 2018-12-20 03:30:10 +08:00
parent 6ef44cb294
commit 9375f4fd98

View File

@ -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)