mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-29 14:05:21 -04:00
feat: Update dockerfile to support readability
This commit is contained in:
parent
2a68af1b94
commit
5dc7e63792
2 changed files with 8 additions and 3 deletions
|
@ -50,8 +50,7 @@ def should_save_readability(link: Link, out_dir: Optional[str]=None) -> bool:
|
|||
if is_static_file(link.url):
|
||||
return False
|
||||
|
||||
output = Path(out_dir or link.link_dir) / 'readability.json'
|
||||
print(output, SAVE_READABILITY)
|
||||
output = Path(out_dir or link.link_dir) / 'readability'
|
||||
return SAVE_READABILITY and (not output.exists())
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue