mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 07:34:27 -04:00
fix handling of wget file paths
This commit is contained in:
parent
dbe4660da3
commit
b926b1affc
3 changed files with 30 additions and 27 deletions
4
links.py
4
links.py
|
@ -63,10 +63,10 @@ def validate_links(links):
|
|||
link['latest']['wget'] = wget_output_path(link)
|
||||
|
||||
if not link['latest'].get('pdf'):
|
||||
link['latest']['pdf'] = wget_output_path(link)
|
||||
link['latest']['pdf'] = None
|
||||
|
||||
if not link['latest'].get('screenshot'):
|
||||
link['latest']['screenshot'] = wget_output_path(link)
|
||||
link['latest']['screenshot'] = None
|
||||
|
||||
return list(links)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue