213
This commit is contained in:
parent
dfe21c52a6
commit
aec7f4cf86
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user