This commit is contained in:
eson 2018-12-20 02:48:16 +08:00
parent e01d7c044d
commit e89804d761

View File

@ -43,7 +43,12 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) {
spew.Dump(adlist)
for _, data := range adlist {
data = strconv.Quote(data)
unq, err := strconv.Unquote(data)
if err != nil {
log.Println(unq)
} else {
data = unq
}
data = strings.Replace(data, "\\", "", -1)
log.Println(data)