feat(web): up avatars, follower count, and dedupe views/avg secondary

This commit is contained in:
kairee committed 2026-11-01 14:34:23 +08:00
1 parent 1ed3746f4b
commit 2ff3e7952b
23 files changed
+209 -58

No files matched your search

+2
View File
@@ -137,6 +137,7 @@ class LibraryService:
duration=detail.duration,
pages=detail.pages,
cover=detail.cover,
up_face=detail.up_face,
source="candidate:telegram",
now=self._now(),
)
@@ -206,6 +207,7 @@ class LibraryService:
duration=detail.duration,
pages=detail.pages,
cover=detail.cover,
up_face=detail.up_face,
source="manual:telegram",
now=self._now(),
)
+2
View File
@@ -211,6 +211,8 @@ class SnapshotService:
err=None,
captured_at=self._now(),
)
if getattr(stat, "up_face", None):
self.repo.apply_video_up_face(aid, stat.up_face)
summary.success += 1
else:
summary.failed += 1