From 0364fc077bbd628dcdff0682450fce7fd94b5760 Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Thu, 20 Dec 2018 02:06:50 +0800 Subject: [PATCH] 213 --- parser_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/parser_test.go b/parser_test.go index d6f271f..126b876 100644 --- a/parser_test.go +++ b/parser_test.go @@ -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{}