mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 07:04:27 -04:00
fix unecessary re-wgetting of websites
This commit is contained in:
parent
c96c2eb2da
commit
fa79768f1e
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ def parse_bookmarks_export(html):
|
||||||
|
|
||||||
def fetch_wget(out_dir, link, overwrite=False):
|
def fetch_wget(out_dir, link, overwrite=False):
|
||||||
# download full site
|
# download full site
|
||||||
if not os.path.exists('{}/{}'.format(out_dir, link)) or overwrite:
|
if not os.path.exists('{}/{}'.format(out_dir, link['base_url'].split('/', 1)[0])) or overwrite:
|
||||||
print(' - Downloading Full Site')
|
print(' - Downloading Full Site')
|
||||||
CMD = [
|
CMD = [
|
||||||
*'wget --no-clobber --page-requisites --adjust-extension --convert-links --no-parent'.split(' '),
|
*'wget --no-clobber --page-requisites --adjust-extension --convert-links --no-parent'.split(' '),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue