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()