From 7fc9b7d456db1b4b8718b3a4eb56f6e5e631c366 Mon Sep 17 00:00:00 2001 From: Cristian Date: Fri, 9 Oct 2020 08:58:52 -0500 Subject: [PATCH] refactor: Update mentions of the html index in the logs --- archivebox/logging_util.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/archivebox/logging_util.py b/archivebox/logging_util.py index eef0c30e..fa9bf67d 100644 --- a/archivebox/logging_util.py +++ b/archivebox/logging_util.py @@ -264,8 +264,8 @@ def log_archiving_paused(num_links: int, idx: int, timestamp: str): total=num_links, )) print() - print(' {lightred}Hint:{reset} To view your archive index, open:'.format(**ANSI)) - print(' {}/{}'.format(OUTPUT_DIR, HTML_INDEX_FILENAME)) + print(' {lightred}Hint:{reset} To view your archive index, run:'.format(**ANSI)) + print(' archivebox server # then visit http://127.0.0.1:8000') print(' Continue archiving where you left off by running:') print(' archivebox update --resume={}'.format(timestamp)) @@ -291,8 +291,8 @@ def log_archiving_finished(num_links: int): print(' - {} links updated'.format(_LAST_RUN_STATS.succeeded + _LAST_RUN_STATS.failed)) print(' - {} links had errors'.format(_LAST_RUN_STATS.failed)) print() - print(' {lightred}Hint:{reset} To view your archive index, open:'.format(**ANSI)) - print(' {}/{}'.format(OUTPUT_DIR, HTML_INDEX_FILENAME)) + print(' {lightred}Hint:{reset} To view your archive index, run:'.format(**ANSI)) + print(' archivebox server # then visit http://127.0.0.1:8000') print(' Or run the built-in webserver:') print(' archivebox server')