213
This commit is contained in:
parent
e01d7c044d
commit
e89804d761
|
@ -43,7 +43,12 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) {
|
||||||
spew.Dump(adlist)
|
spew.Dump(adlist)
|
||||||
|
|
||||||
for _, data := range 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)
|
data = strings.Replace(data, "\\", "", -1)
|
||||||
log.Println(data)
|
log.Println(data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user