dezoomify icon indicating copy to clipboard operation
dezoomify copied to clipboard

seek solution for www.bildindex.de

Open dancorpse opened this issue 9 years ago • 21 comments

http://www.bildindex.de/document/obj00174541/fmc654619, this is a zoomify image, but the following url does not work in dezoomify, http://www.bildindex.de/media/zoomify/fmc654619/ImageProperties.xml; Am I anything wrong? I notice that there're very long stuffs begin with "?Expires=" after "ImagePropertiex.xml, Is there any thing to do with? (I use dezoomify via proxy) But dezoomify works fine with other sites.

dancorpse avatar Aug 22 '16 05:08 dancorpse

Looks like they use the same system as #79 . You have to first access the tile http://www.bildindex.de/media/proxy/67DA78F7E4C940A8B37729BBA513A71B/TileGroup0/4-3-1.jpg with the right Referer and Cookie headers, and then receive a redirection to a tile URL that is valid only for a short period of time.

lovasoa avatar Sep 26 '16 08:09 lovasoa

Any progress on this site? Thanks!

gregg128 avatar Apr 22 '17 21:04 gregg128

Well, if you want the max resolution, there is a way. Use Mozilla Firefox, find the image , press the zoom button, do CTRL-SHIFT-M, enter the max resolution 9999x9999. Wait for the image to be fully loaded (scroll up and down, left and right). When fully loaded, press the 'camera' button in the upper screen (find it! by scrolling left and right) which will take a screenshot of the photo. Now you have the maximized fully zoom image from the screen in your Downloads directory. It's not as easy as dezoomify, but it is not very hard to get the full resolution image.

leechers avatar Mar 06 '18 09:03 leechers

@leechers excellent solution!

tomybyte avatar Mar 26 '19 08:03 tomybyte

If someone is interested in finally making dezoomify work with bildindex.de, here is what I found out:

  • the tiles are requested through a proxy
  • The url to the proxy has to be found dynamically: https://www.bildindex.de/db/apsisa.dll/eteRessourceResolver?mediumID=fmc654619&mediumType=zoom&doctype=obj&docnumber=00174541&_=1578336598735
  • Once the proxy URL is found, resources have to be requested at the proxy URL, while taking care of setting all cookies correctly.

lovasoa avatar Jan 06 '20 19:01 lovasoa

@lovasoa what can I do in dezoomify with the www.bildindex.de/eteRessourceResolver URL ?

tomybyte avatar Jan 07 '20 13:01 tomybyte

Currently, nothing. I was just posting a message with my latest findings in case someone is interested. This information is going to be required if one wants to one day make dezoomify work with that site.

lovasoa avatar Jan 07 '20 15:01 lovasoa

@lovasoa thanks for clarifying!

tomybyte avatar Jan 07 '20 15:01 tomybyte

Ok, I managed to get it working with dezoomify-rs, but it's still a little convoluted:

  1. While browsing an image on bildindex.de, open the network inspector of your browser, and find a request to eteRessourceResolver image

  2. Copy the url from the response. In this case: https://www.bildindex.de/media/proxy/F8F639869A7A4DF6A33F9CAA138D1B2D/

  3. In the cookies tab, find the sid cookie. In our case: {2eb572ad-5e26-463d-a12e-739591583da7} image

  4. In a terminal, launch dezoomify-rs with the following parameters, using the information found during the previous steps:

./dezoomify-rs --header "Cookie: sid={2eb572ad-5e26-463d-a12e-739591583da7}" "https://www.bildindex.de/media/proxy/F8F639869A7A4DF6A33F9CAA138D1B2D/ImageProperties.xml"

Edit: replaced ' with " so that the command also works on windows.

lovasoa avatar Jan 08 '20 11:01 lovasoa

dezoomified

lovasoa avatar Jan 08 '20 11:01 lovasoa

@lovasoa this works not for me :(

d:\_Proggys\dezoomify-rs 1.6.0>dezoomify-rs --header 'Cookie: sid={32704313-9237-429e-a172-723d9fd2fe71}' 'https://www.bildindex.de/media/proxy/DEF9DD97793347D695E41E20C1206301/ImageProperties.xml'
Trying to locate a zoomable image...
Opening sid={32704313-9237-429e-a172-723d9fd2fe71}'...
Input/Output error: Das System kann die angegebene Datei nicht finden. (os error 2)

tomybyte avatar Jan 08 '20 12:01 tomybyte

Oh, I always forget that the string delimiters are not the same in windows and MacOS :

dezoomify-rs --header "Cookie: sid={32704313-9237-429e-a172-723d9fd2fe71}" "https://www.bildindex.de/media/proxy/DEF9DD97793347D695E41E20C1206301/ImageProperties.xml"

should work in both windows and macos (replace ' with " in what I posted previously)

lovasoa avatar Jan 08 '20 13:01 lovasoa

@lovasoa great job, thanks a lot!

tomybyte avatar Jan 08 '20 15:01 tomybyte

Is this still working? It doesn't seem to be for me.

mcn-ops avatar Dec 13 '20 17:12 mcn-ops

Yes, it does still work. Did you extract the right cookie from your browser ?

lovasoa avatar Dec 13 '20 18:12 lovasoa

I'm sure I did. I also used the link you provided and got the same error. When I click the Dezoomify button, it says 'Please enter a URL'.

mcn-ops avatar Dec 13 '20 22:12 mcn-ops

Also does not work for me. I double checked everything 5 times. Always get the same answer:

ERROR Dezoomer error: Unable to create the dezoomer: Tried all of the dezoomers, none succeeded. They returned the following errors:

  • custom: The 'custom' dezoomer cannot handle this URI
  • google_arts_and_culture: The 'google_arts_and_culture' dezoomer cannot handle this URI
  • generic: The 'generic' dezoomer cannot handle this URI
  • pff: The 'pff' dezoomer cannot handle this URI
  • IIPImage: The 'IIPImage' dezoomer cannot handle this URI
  • nypl: The 'nypl' dezoomer cannot handle this URI
  • zoomify: Unable to download required data: Input/Output error: No such file or directory (os error 2)
  • iiif: Unable to download required data: Input/Output error: No such file or directory (os error 2)
  • deepzoom: Unable to download required data: Input/Output error: No such file or directory (os error 2)
  • krpano: Unable to download required data: Input/Output error: No such file or directory (os error 2)

dezoomify-rs expects a zoomable image meta-information file URL. To find this URL, you can use the dezoomify browser extension, which you can download at

  • https://lovasoa.github.io/dezoomify-extension/ If this doesn't help, then your image may be in a format that is not yet supported by dezoomify-rs. You can ask for a new format to be supported by opening a new issue on https://github.com/lovasoa/dezoomify-rs/issues

Enter an URL or a path to a tiles.yaml file:

jakovgan avatar Jan 31 '24 18:01 jakovgan

It worked now, you have to run the terminal and not use dezoomify-rs directly

jakovgan avatar Jan 31 '24 18:01 jakovgan