This commit is contained in:
eson 2018-12-20 02:06:50 +08:00
parent 887a0fd664
commit 0364fc077b

View File

@ -3,8 +3,6 @@ package parser
import (
"encoding/json"
"log"
"strconv"
"strings"
"testing"
"github.com/davecgh/go-spew/spew"
@ -42,8 +40,8 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) {
spew.Dump(adlist)
for _, data := range adlist {
data = strconv.QuoteToASCII(data)
data = strings.Replace(data, "\\", "", -1)
// data = strconv.QuoteToASCII(data)
// data = strings.Replace(data, "\\", "", -1)
log.Println(data)
var jdata interface{}