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):
|
||||
# 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')
|
||||
CMD = [
|
||||
*'wget --no-clobber --page-requisites --adjust-extension --convert-links --no-parent'.split(' '),
|
||||
|
|
Loading…
Add table
Reference in a new issue