⬆️ Upgrade my-log

This commit is contained in:
Dan Jones 2026-03-07 19:58:51 -06:00
commit 994a10a45c
4 changed files with 9 additions and 9 deletions

View file

@ -44,9 +44,9 @@ func GetLog(ctx context.Context, url string, now time.Time) (models.Log, error)
}
ent.Date = now
// TODO Get published date
ent.ID = getID(now, info)
metas := &ent.Fields
*metas = metas.Set("id", getID(now, info))
source := FirstNonZero(info.ExtractorKey, info.WebpageURLDomain, new("Web Video"))
*metas = metas.Set("source", source)