mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
fix(filter): skip invalid rules instead of exiting the loop
This commit is contained in:
parent
6282ac1f38
commit
bc6ab44ff2
4 changed files with 70 additions and 56 deletions
|
@ -38,7 +38,7 @@ func fetchWatchTime(websiteURL, query string, isoDate bool) (int, error) {
|
|||
|
||||
duration, exists := doc.FindMatcher(goquery.Single(query)).Attr("content")
|
||||
if !exists {
|
||||
return 0, errors.New("duration has not found")
|
||||
return 0, errors.New("duration not found")
|
||||
}
|
||||
|
||||
ret := 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue