HLN geen labels komt vaak voor

This commit is contained in:
Peter Kleiweg
2026-05-21 18:37:07 +02:00
parent dbc8f9bfb8
commit 4f9284c6d6

View File

@@ -187,9 +187,6 @@ func doArticle(filename string, url string, timestamp time.Time, needUpdate bool
tags := make([]string, 0)
ell, err := article.Search(`//*[@data-content-type="LABEL"]`)
p(err)
if len(ell) == 0 {
_ = w(fmt.Errorf("no labels: %s", url))
}
for _, el := range ell {
s := strings.TrimSpace(el.Content())
if s != "" {