From 7fd81d440db57cd7db2467816c739075c6214671 Mon Sep 17 00:00:00 2001 From: fengxxc Date: Tue, 30 Nov 2021 11:36:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E8=8E=B7=E5=8F=96=E4=B8=8D=E5=88=B0=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parse/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse/parse.go b/parse/parse.go index fbc42e4..665de0a 100644 --- a/parse/parse.go +++ b/parse/parse.go @@ -25,7 +25,7 @@ func parseSection(s *goquery.Selection) Paragraph { attr["href"], _ = s.Attr("href") p = Piece{LINK, removeBrAndBlank(s.Text()), attr} } else if s.Is("img") { - attr["src"], _ = s.Attr("src") + attr["src"], _ = s.Attr("data-src") attr["alt"], _ = s.Attr("alt") attr["title"], _ = s.Attr("title") p = Piece{IMAGE, "", attr}