Resolve known Memorix detail URLs without page fetches - #978
Merged
Conversation
Deploying dezoomify with
|
| Latest commit: |
ac170aa
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ae529889.dezoomify.pages.dev |
| Branch Preview URL: | https://ophir-lojkine-anubis-metaref.dezoomify.pages.dev |
Owner
Author
|
Cloudflare preview proof for the live blocker: Anubis defaults |
lovasoa
force-pushed
the
ophir.lojkine/anubis-metarefresh
branch
from
July 31, 2026 18:56
1c2b5dc to
311e32a
Compare
lovasoa
marked this pull request as ready for review
July 31, 2026 19:02
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 311e32a040
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolve known Memorix detail URLs without page fetches
Some Memorix institution pages block the hosted proxy, but their detail URLs already contain the media UUID.
topviewer.jsnow includes the institution-to-image-server mappings from VDK/Dememorixerbeeldbanken.json, with attribution, and resolves matching/detail/<record>/media/<asset>URLs directly to TopViewer metadata. Gallery URLs without a media UUID keep the existing discovery path.Verified:
cd tests && npm test: 18 passed, including all eight imported mappings and the exact www.beeldbankgroningen.nl #976 URL.cd tests && npm run test:live -- --grep "Beeldbank Groningen": 1 passed.3237x2082metadata and a256pxtile. Its only proxy request was the directimages.memorix.nl/gra/topviewjson/...URL; it never requested the protected institution page.This directly fixes detail URLs such as #976. Gallery URLs such as #975 do not contain a media UUID and are intentionally unchanged. The prior Anubis/refresh implementation was removed from this branch.