mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 15:14:31 -04:00
tweak console output format
This commit is contained in:
parent
262fa0e1bb
commit
64e6eb5f7b
3 changed files with 41 additions and 35 deletions
8
index.py
8
index.py
|
@ -33,11 +33,11 @@ def write_links_index(out_dir, links):
|
|||
write_json_links_index(out_dir, links)
|
||||
write_html_links_index(out_dir, links)
|
||||
|
||||
print('[√] [{}] Archive Main Index now up-to-date: {}/index.html'.format(
|
||||
print('{green}[√] [{}] Updated main index files:{reset}'.format(
|
||||
datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
|
||||
out_dir,
|
||||
|
||||
))
|
||||
**ANSI))
|
||||
print(' > {}/index.json'.format(out_dir))
|
||||
print(' > {}/index.html'.format(out_dir))
|
||||
|
||||
def write_json_links_index(out_dir, links):
|
||||
"""write the json link index to a given path"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue