瀏覽代碼

包更新

fengweiqiang 6 年之前
父節點
當前提交
da1fb26453
共有 2 個文件被更改,包括 2 次插入2 次删除
  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 {