-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
digital.onb.ac.at #703
Comments
Yes the website version of dezoomify fails to find the right url. You can find these URLs by going into Developer mode on the browser, going to the Network tab, filtering on Fetch/XHR and finding the info.json urls. This works for all IIIF based sources. |
Worked like a charm. Many thanks. |
I'm having troubles with another site. While your instructions worked on the first site, the same method fails on this one: https://www.bavarikon.de/object/bav:BBR-MUS-00000BAV80055719 Fetch/XHRshows: Help? |
So this is Standard IIIF protocol. There are two methods to dezoom on IIIF, one is to use a dezoom tool like dezoomify to load the tiles, the other is URL manipulation as the IIIF standard allows for requesting the whole image. This would need specific support as the server requires the HTTP Referer Header to be set. However, this can be done with the Dezoomify command line tool. You can pass it the correct Referer: dezoomify-rs -H "Referer: https://www.bavarikon.de/" https://api.digitale-sammlungen.de/iiif/image/v2/bav:BBR-MUS-00000BAV80055719_bav80055719_00001/info.json The command line version is available on github here (Same github user but a different project, so it can be trusted the same as this project is): You will find instructions there, downloads available for Mac, Linux and Windows. |
Would have never figured most of that out on my own, but still not having any success.
|
The command you are using has an error. The -H is a header specification and must have the form name: value Referer: https://www.bavarikon.de/ i.e Just in case you weren't aware, if you do specify PNG as an output filename you file will be 10x larger than if you use JPG. Although of course pixel degradation won't be an issue with PNG if that's important to you (special cases which most folks wont care about). Hope that helps! |
I get the exact same error message in dezoomify-rs using the corrected command line. Does it work for you? As an aside, I am aware of PNG v. JPG and, needing lossless digital editing and saving, only use PNG. |
Yes. dezoomify-rs -H "Referer: https://www.bavarikon.de/" https://api.digitale-sammlungen.de/iiif/image/v2/bav:BBR-MUS-00000BAV80055718_bav80055718_00005/info.json text.png I just cut & pasted this command from here and it works fine for me on Linux. |
Then something is wrong with the MacOS build of dezoomify-rs. |
Reported MacOS dezoomify-rs issue at lovasoa/dezoomify-rs#202, but no movement there. |
Also worked fine in Windows and produces this image: https://i.imgur.com/9kuLOWw.jpg |
Then I am baffled. Cut & paste of that command line fails for me in Mac's Terminal and on Windows 10 Ed inside Parallels Desktop (with and without PNG file type). |
Closing as a duplicate of #676 , feel free to continue the discussion there. |
Hello everyone,
I am having issues when trying to download https://digital.onb.ac.at/rep/osd/?10E26509
Dezoomify reports:
I don't understand this message. Can someone please help me ?
The text was updated successfully, but these errors were encountered: