rdluck %!s(int64=4) %!d(string=hai) anos
pai
achega
df01ed74a8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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++