mirror of
https://github.com/qurator-spk/neat.git
synced 2025-06-09 11:49:54 +02:00
improve html layout; add reasonable default for --image-url option
This commit is contained in:
parent
b9901436c6
commit
692e990fba
2 changed files with 5 additions and 5 deletions
|
@ -103,7 +103,7 @@ def extract_doc_links(tsv_file):
|
|||
@click.command()
|
||||
@click.argument('page-xml-file', type=click.Path(exists=True), required=True, nargs=1)
|
||||
@click.argument('tsv-out-file', type=click.Path(), required=True, nargs=1)
|
||||
@click.option('--image-url', type=str, default='')
|
||||
@click.option('--image-url', type=str, default='http://empty')
|
||||
def page2tsv(page_xml_file, tsv_out_file, image_url):
|
||||
|
||||
tree = ET.parse(page_xml_file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue