1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00
miniflux-v2/internal/reader/processor
Julien Voisin 1b0b8b9c42
refactor: use a better construct than doc.Find(…).First()
As mentioned in goquery's documentation (https://pkg.go.dev/github.com/PuerkitoBio/goquery#Single):

> By default, Selection.Find and other functions that accept a selector string
to select nodes will use all matches corresponding to that selector. By using
the Matcher returned by Single, at most the first match will be selected.
>
> The one using Single is optimized to be potentially much faster on large documents.
2024-12-11 19:40:55 -08:00
..
bilibili.go refactor: split processor package into smaller files 2024-09-22 18:54:19 -07:00
nebula.go refactor: use a better construct than doc.Find(…).First() 2024-12-11 19:40:55 -08:00
odysee.go refactor: use a better construct than doc.Find(…).First() 2024-12-11 19:40:55 -08:00
processor.go refactor(handler): delay store.UserByID as much as possible 2024-12-09 19:32:59 -08:00
processor_test.go refactor: split processor package into smaller files 2024-09-22 18:54:19 -07:00
youtube.go refactor: use a better construct than doc.Find(…).First() 2024-12-11 19:40:55 -08:00
youtube_test.go refactor: split processor package into smaller files 2024-09-22 18:54:19 -07:00