mirror of
https://github.com/qurator-spk/page2tsv.git
synced 2025-07-12 03:29:52 +02:00
Add directory parsing option to make-page2tsv-commands
This commit is contained in:
parent
7fc39739b7
commit
aa79678403
1 changed files with 2 additions and 2 deletions
|
@ -273,6 +273,6 @@ def make_page2tsv_commands(xls_file, directory, purpose):
|
||||||
if ma:
|
if ma:
|
||||||
print('page2tsv {} {}.tsv '
|
print('page2tsv {} {}.tsv '
|
||||||
'--image-url=https://content.staatsbibliothek-berlin.de/dc/'
|
'--image-url=https://content.staatsbibliothek-berlin.de/dc/'
|
||||||
'{}-{}/left,top,width,height/full/1200/default.jpg --scale-factor=1.0'.
|
'{}-{}/left,top,width,height/full/1200/default.jpg --scale-factor=1.0 --purpose={}'.
|
||||||
format(file, ma.group(1), ma.group(2), ma.group(3)))
|
format(file, ma.group(1), ma.group(2), ma.group(3), purpose))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue