mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-08 04:06:18 -04:00
Paginate briefing cards and add video previews
This commit is contained in:
@@ -166,6 +166,9 @@ func enrichOG(ctx context.Context, client *http.Client, items []Item, parallel i
|
||||
}
|
||||
|
||||
for i := range items {
|
||||
if items[i].OGImageURL != "" {
|
||||
continue // Already has preview from feed, skip OG head fetch
|
||||
}
|
||||
wg.Add(1)
|
||||
go func(idx int) {
|
||||
defer wg.Done()
|
||||
|
||||
Reference in New Issue
Block a user