HLN geen labels komt vaak voor
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user