213
This commit is contained in:
parent
11ff68f951
commit
76811349e7
|
@ -43,13 +43,9 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) {
|
|||
spew.Dump(adlist)
|
||||
|
||||
for _, data := range adlist {
|
||||
unq, err := strconv.Unquote(data)
|
||||
log.Println(unq)
|
||||
if err != nil {
|
||||
log.Println(unq)
|
||||
} else {
|
||||
data = unq
|
||||
}
|
||||
data = strconv.QuoteToASCII(data)
|
||||
log.Println(data)
|
||||
|
||||
data = strings.Replace(data, "\\", "", -1)
|
||||
log.Println(data)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user