Add per-kind stats, GIF hover playback, and static gif previews
This commit is contained in:
@@ -125,6 +125,9 @@ Previews run after every walk:
|
||||
- Embeds without a thumbnail in Discord's data (fxtwitter, vxReddit, ...) are resolved first:
|
||||
provider oEmbed/fxtwitter API, then the page's `og:image`/`twitter:image` (512 KiB read cap,
|
||||
10 s timeout, one attempt).
|
||||
- Animated GIF previews are stored as a static first frame (`ffmpeg`, 480px WebP); the original
|
||||
animated GIF URL stays in `preview_url` for hover playback. Tenor embeds without a thumbnail are
|
||||
resolved through Tenor's oEmbed.
|
||||
- One attempt per row, no retries; a failure marks `preview_error` and never fails the scrape.
|
||||
- Stored by hash in `thumbs/<sha256>.<ext>`, where the extension follows the response type
|
||||
(`preview_ext`, default webp); `preview_hash` and `preview_bytes` land on the row, and the
|
||||
|
||||
Reference in New Issue
Block a user