Skip to content

Commit

Permalink
Disable readability logs
Browse files Browse the repository at this point in the history
  • Loading branch information
giulianopz committed Aug 19, 2024
1 parent 7df0268 commit 6f838dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/display/loading.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func (d *display) loadArticleText(url string) error {
}
}()

break
return nil
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion internal/html/html.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func ExtractText(url string) (string, error) {
}

reader, err := readability.New(
string(bs), url,
string(bs), url, readability.LogLevel(-1),
)
if err != nil {
return "", err
Expand Down

0 comments on commit 6f838dd

Please sign in to comment.