This commit is contained in:
Nazar Kanaev
2023-02-02 22:06:27 +00:00
parent 012b58bbe4
commit 632412c10e
16 changed files with 61 additions and 51 deletions

View File

@@ -60,9 +60,9 @@ func ExtractContent(page io.Reader) (string, error) {
best = body
break
}
if best == nil {
return "", errors.New("failed to extract content")
}
if best == nil {
return "", errors.New("failed to extract content")
}
}
//log.Printf("[Readability] TopCandidate: %v", topCandidate)