This commit is contained in:
eson 2018-12-20 03:25:25 +08:00
parent eb29e67e4b
commit 875c665542

View File

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