Browse Source

包更新

fengweiqiang 6 years ago
parent
commit
da1fb26453
2 changed files with 2 additions and 2 deletions
  1. 0 1
      src/jy/pretreated/analystep.go
  2. 2 1
      src/jy/pretreated/analytable.go

+ 0 - 1
src/jy/pretreated/analystep.go

@@ -6,7 +6,6 @@ package pretreated
 import (
 	"encoding/json"
 	"jy/util"
-	//"log"
 	"strings"
 
 	"github.com/PuerkitoBio/goquery"

+ 2 - 1
src/jy/pretreated/analytable.go

@@ -1037,7 +1037,8 @@ func (table *Table) FindTag() {
 	if table.Tag != "" {
 		return
 	}
-	t1, _ := table.Goquery.OuterHtml()
+	t1, _ := goquery.OuterHtml(table.Goquery)
+	//t1, _ := table.Goquery.OuterHtml()
 	html := table.Html
 	pos := strings.Index(html, t1)
 	if pos <= 0 {