213
This commit is contained in:
parent
9375f4fd98
commit
9f3e28c9e4
|
@ -45,7 +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 + "\"")
|
||||
unq, _ = strconv.Unquote(unq)
|
||||
data = unq
|
||||
var v interface{}
|
||||
json.Unmarshal([]byte(data), &v)
|
||||
|
|
Loading…
Reference in New Issue
Block a user