Skip to content

feat: store MyAnimeList's larger image copy - #19

Merged
bludot merged 1 commit into
mainfrom
feat/mal-large-images
Oct 5, 2026
Merged

bludot merged 1 commit into
mainfrom
feat/mal-large-images

Conversation

@bludot

@bludot bludot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Stacked on #18.

MyAnimeList serves two copies of every image under the same name: the 225px thumbnail the scraper records, and a larger one, about 424x600 for a poster, with an l before the extension:

…/images/anime/1668/108792.jpg 225x318, 49 KB
…/images/anime/1668/108792l.jpg 424x600, 152 KB

The processor now asks for the larger copy with one HEAD and falls back to the small one when there is none. It is decided before the skip rule, so an object stored from the small copy is replaced once by the large one (its recorded source length differs) and then left alone. Nearly twice the resolution at the source beats anything an upscaler can invent, and text on a poster is legible at 424px where it was not at 225.

Expect one wave of re-downloads as events for existing anime come through; each object upgrades once. upscaler-service's per-kind scale (2x for root images) lands those at about 850px, where 4x of the 225px copy did, with far less invented detail.

Tests: the URL rule (anime, character, already-large, query strings, non-MAL hosts), the large copy being stored with its length recorded, and the fallback when the large copy is missing.

🤖 Generated with Claude Code

Base automatically changed from feat/image-stored-events to main October 5, 2026 12:18
MyAnimeList serves two copies of every image under the same name: the
225px thumbnail the scraper records and a ~424x600 one with an l before
the extension. One HEAD per image picks the larger when it exists, with
the small one as the fallback. Decided before the skip rule, so an object
stored from the small copy is replaced once by the large one and then left
alone. Nearly twice the resolution at the source beats anything an
upscaler invents; text on a poster is legible at 424px.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@bludot
bludot force-pushed the feat/mal-large-images branch from 3f51fc6 to 5910ca4 Compare October 5, 2026 13:10
@bludot
bludot merged commit 1f97a59 into main Oct 5, 2026
2 checks passed
@bludot

bludot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.20.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bludot bludot added the released label Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant