213
This commit is contained in:
parent
eb29e67e4b
commit
875c665542
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user