mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 15:14:31 -04:00
handle urls with special characters properly
This commit is contained in:
parent
6a8f6f52af
commit
97249a1861
5 changed files with 22 additions and 22 deletions
|
@ -119,9 +119,9 @@ def archive_link(link: Link, link_dir: Optional[str]=None) -> Link:
|
|||
|
||||
# print(' ', stats)
|
||||
|
||||
# If any changes were made, update the link index json and html
|
||||
write_link_index(link, link_dir=link.link_dir)
|
||||
|
||||
# If any changes were made, update the main links index json and html
|
||||
was_changed = stats['succeeded'] or stats['failed']
|
||||
if was_changed:
|
||||
patch_links_index(link)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue