From aec7f4cf865e2212255ffb71b9c93c94fb8e80be Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Thu, 20 Dec 2018 01:38:57 +0800 Subject: [PATCH] 213 --- parser_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parser_test.go b/parser_test.go index c0c5fc2..955d3d4 100644 --- a/parser_test.go +++ b/parser_test.go @@ -5,6 +5,8 @@ import ( "log" "strconv" "testing" + + "github.com/davecgh/go-spew/spew" ) func TestParser(t *testing.T) { @@ -34,7 +36,7 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) { log.Println(err) } - log.Println(adlist) + spew.Dump(adlist) adparser := NewADParser(tt.GetSpiderID()) data, err := adparser.ToJSON()