rdluck 4 anni fa
parent
commit
df01ed74a8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      services/article.go

+ 1 - 1
services/article.go

@@ -16,7 +16,7 @@ func GetReportContentSub(content string) (contentSub string, err error) {
 	}
 	n := 0
 	doc.Find("p").Each(func(i int, s *goquery.Selection) {
-		if n >= 5 {
+		if n > 3 {
 			return
 		}
 		n++