1
0
Fork 0
mirror of https://github.com/qurator-spk/page2tsv.git synced 2025-06-15 22:39:54 +02:00

fix iiif-url (dirty hack)

This commit is contained in:
Clemens Neudecker 2021-03-10 13:43:39 +01:00 committed by GitHub
parent c554644838
commit 243d373913
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -273,6 +273,6 @@ def make_page2tsv_commands(xls_file, directory, purpose):
if ma:
print('page2tsv {} {}.tsv '
'--image-url=https://content.staatsbibliothek-berlin.de/dc/'
'{}-{}/left,top,width,height/full/1200/default.jpg --scale-factor=1.0 --purpose={}'.
'{}-0000{}/left,top,width,height/1200,/0/default.jpg --scale-factor=1.0 --purpose={}'.
format(file, ma.group(1), ma.group(2), ma.group(3), purpose))