Download (not simply) an image

haring

New member
Feb 28, 2020
27
10
3
Hello everyone,

first I hope this is the correct section.

I need a help. I'd like to download this image in high resolution: https://orion2020v5b.spaceforeverybody.com.

I'm trying them all, but I can't hit the target.

They used this script: https://openseadragon.github.io/
I can - if it doesn't crash before the end - to download the image via https://ophir.alwaysdata.net/dezoomify/dezoomify.html, but it shows me the annotations. So I was wondering: do you think there is a way to send the URL to Dezomify with annotations "disabled"?


thanks for any help
 
Last edited:

mader

Well-known member
Babiato Lover
Trusted Seller
Trusted Uploader
Sep 18, 2019
519
372
63
This is not just one image.
 
  • Like
Reactions: haring

haring

New member
Feb 28, 2020
27
10
3
Yes, the thread title is misleading. I hope I have explained myself sufficiently well in the content.
 

haring

New member
Feb 28, 2020
27
10
3
The source code is not clear, there is not a <img> tag with "src" target.
Is the jQuery script that recreates the pattern, I was asking for help for this. To be clear: the right mouse button is not enough. ;)


I tried to use the computer script too (this one: https://dezoomify-rs.ophir.dev/, both on Mac and Windows), but the result is worse: it downloads nothing. So i tried the options (header mostly), but nothing.

Below are some attempts made, the linebreaks are only to facilitate reading:

simple request (with or without apostrophes, it's the same):
Code:
./dezoomify-rs 'https://orion2020v5b.spaceforeverybody.com'

with a user-agent header:
Code:
./dezoomify-rs
-H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.85 Safari/537.36'
'https://orion2020v5b.spaceforeverybody.com'

with several headers:
Code:
./dezoomify-rs
-H 'Access-Control-Expose-Headers: X-Set-Cookie'
-H 'Access-Control-Allow-Origin: *' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.85 Safari/537.36'
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
-H 'Accept-Language: en-US,en;q=0.5'
-H 'Referer: http://en.wikipedia.org/wiki/Main_Page'
-H 'Cookie: $Version=1; Skin=new;'
'https://orion2020v5b.spaceforeverybody.com'


The results is always the same:

Code:
Found the following zoom levels:
0. orion2020v5b.spaceforeverybody.com (62596 x 38467 pixels,  9348 tiles)
1. orion2020v5b.spaceforeverybody.com (62596 x 38467 pixels,  9348 tiles)
Which level do you want to download?
0
[ETA:0s] ########################################    0/0    Computing the URLs of the image tiles...
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/1024,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.48s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/0,0,512,512/512,512/0/default.jpg). Retrying tile download in 2s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/512,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.24s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/3072,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.44s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/3584,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.68s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/4096,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.92s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/6144,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.88s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/7680,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.6s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/2560,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.2s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/4608,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.16s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/7168,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.36s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/1536,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.72s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/2048,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.96s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/5120,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.4s.
[2020-11-17T08:00:21Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/6656,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.12s.
[ETA:16h] #---------------------------------------    1/9348 Requesting the tiles...
[ETA:12h] #---------------------------------------    2/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/0,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/0,0,512,512/512,512/0/default.jpg)
[ETA:8h] #---------------------------------------    4/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/512,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/512,0,512,512/512,512/0/default.jpg)
[2020-11-17T08:00:23Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/9216,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.32s.
[2020-11-17T08:00:23Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/9728,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.56s.
[ETA:7h] #---------------------------------------    6/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/1024,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/1024,0,512,512/512,512/0/default.jpg)
[ETA:5h] #---------------------------------------    9/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/6144,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/6144,0,512,512/512,512/0/default.jpg)
[2020-11-17T08:00:24Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/11776,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.52s.
[ETA:5h] #---------------------------------------   10/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/2048,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/2048,0,512,512/512,512/0/default.jpg)
[2020-11-17T08:00:24Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/11264,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.28s.
[2020-11-17T08:00:24Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/12800,0,512,512/512,512/0/default.jpg). Retrying tile download in 2s.
[ETA:2h] #---------------------------------------   13/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/7168,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/7168,0,512,512/512,512/0/default.jpg)
[2020-11-17T08:00:24Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/13824,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.48s.
[ETA:2h] #---------------------------------------   15/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/7680,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/7680,0,512,512/512,512/0/default.jpg)
[ETA:1h] #---------------------------------------   16/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/3584,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/3584,0,512,512/512,512/0/default.jpg)
[2020-11-17T08:00:25Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/15360,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.2s.
[ETA:1h] #---------------------------------------   17/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/4096,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/4096,0,512,512/512,512/0/default.jpg)
[ETA:1h] #---------------------------------------   18/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/8704,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/8704,0,512,512/512,512/0/default.jpg)
[ETA:1h] #---------------------------------------   19/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/9216,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/9216,0,512,512/512,512/0/default.jpg)
[ETA:1h] #---------------------------------------   21/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/12800,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/12800,0,512,512/512,512/0/default.jpg)
[ETA:1h] #---------------------------------------   22/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/10240,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/10240,0,512,512/512,512/0/default.jpg)
[2020-11-17T08:00:26Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/18432,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.64s.
[ETA:1h] #---------------------------------------   24/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/10752,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/10752,0,512,512/512,512/0/default.jpg)
[2020-11-17T08:00:27Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/19456,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.12s.
[2020-11-17T08:00:27Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/20480,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.6s.
[ETA:1h] #---------------------------------------   28/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/11264,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/11264,0,512,512/512,512/0/default.jpg)
[ETA:1h] #---------------------------------------   29/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/11776,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/11776,0,512,512/512,512/0/default.jpg)
[2020-11-17T08:00:28Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/22016,0,512,512/512,512/0/default.jpg). Retrying tile download in 2.32s.
[2020-11-17T08:00:28Z WARN  dezoomify_rs] network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/20992,0,512,512/512,512/0/default.jpg). Retrying tile download in 3.84s.
[ETA:1h] #---------------------------------------   30/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/14848,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/14848,0,512,512/512,512/0/default.jpg)
[ETA:1h] #---------------------------------------   31/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/12288,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/12288,0,512,512/512,512/0/default.jpg)
[ETA:1h] #---------------------------------------   33/9348 Unable to download tile 'https://orion2020v5b.spaceforeverybody.com/17408,0,512,512/512,512/0/default.jpg'. Cause: network error: HTTP status client error (404 Not Found) for url (https://orion2020v5b.spaceforeverybody.com/17408,0,512,512/512,512/0/default.jpg)


The strange thing is that the web script works (it doesn't download the right image, but it finds it and recomposes "an" image), the computer script doesn't.
 

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
24,108
27,375
120
It seems that the script takes its image data from ./ORIONSOLVE while you need the data to be taken from ./ORIONFINAL

Fortunately for you is that the image data follows the same pattern for both folders which mean that same tileset with annotation from ORIONSOLVE have exact named corespondent in the exact tileset from ORIONFINAL. I don't know how dezoomify saves the image/s.
If it gives you one big image to download then it's not helpful. One option would be to install dezoomify on your server and work from there: analyze and modify the script for the desired result. Eventually modify to intercept downloaded data and save it separately.
 

haring

New member
Feb 28, 2020
27
10
3
I think the picture is encrypted.
Not the picture.
It seems that the script takes its image data from ./ORIONSOLVE while you need the data to be taken from ./ORIONFINAL

Fortunately for you is that the image data follows the same pattern for both folders which mean that same tileset with annotation from ORIONSOLVE have exact named corespondent in the exact tileset from ORIONFINAL. I don't know how dezoomify saves the image/s.
If it gives you one big image to download then it's not helpful. One option would be to install dezoomify on your server and work from there: analyze and modify the script for the desired result. Eventually modify to intercept downloaded data and save it separately.
Nice idea!
./ORIONSOLVE contains image with annotations, ./ORIONFINAL not. Web script rebuild ORIONSOLVE.
 

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
24,108
27,375
120
Which idea can be extended: if you get trough dezoomify a full list of downloaded images then you can save all the links (tho they are get from ORIONSOLVE), bulk edit the names and replace ORIONSOLVE with ORIONFINAL, download them all then do some jigsaw like puzzle to put them back in place. If the script can also retrieve a map of images (which goes where) then your work is way easier.
 
  • Like
Reactions: haring

haring

New member
Feb 28, 2020
27
10
3
Indeed. It should download the map to a temporary file which, when finished, it naturally deletes. By changing the right point you can then download the list easily, reassembling it does not worry me.
Great starting point, thanks!
 
  • Like
Reactions: Mr G

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
24,108
27,375
120
Prego

*** For english speakers it's somehow similar with "you're welcome"
 
  • Like
Reactions: haring

haring

New member
Feb 28, 2020
27
10
3
...if you want it too, I swear, none taken :)

if I had to guess you're better than me :rolleyes:
 

haring

New member
Feb 28, 2020
27
10
3
done (with the fundamental help of dezoomify-rs contributor)
 

Attachments

  • Schermata 2020-11-17 alle 13.16.29.png
    Schermata 2020-11-17 alle 13.16.29.png
    1.4 MB · Views: 7
  • Like
  • Love
Reactions: mader and Mr G

Forum statistics

Threads
69,485
Messages
909,976
Members
239,851
Latest member
osamkhan

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu