mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
rewrite icon crawling
This commit is contained in:
@@ -41,10 +41,8 @@ func (w *Worker) StartFeedCleaner() {
|
||||
|
||||
func (w *Worker) FindFavicons() {
|
||||
go func() {
|
||||
for _, feed := range w.db.ListFeeds() {
|
||||
if !feed.HasIcon {
|
||||
w.FindFeedFavicon(feed)
|
||||
}
|
||||
for _, feed := range w.db.ListFeedsMissingIcons() {
|
||||
w.FindFeedFavicon(feed)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
Reference in New Issue
Block a user