Browse Source

Fix banner download

main
fluffy 2 months ago
parent
commit
49c2bceb81
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      zenius.py

+ 2
- 2
zenius.py View File

@@ -33,7 +33,7 @@ def parse_args(*args):
help="Only perform a dry run; don't download any files",
dest='dry_run', action='store_true')
feature.add_argument('--no-dry-run',
help="Send pings normally",
help="Dwonload all files",
dest='dry_run', action='store_false')
feature.set_defaults(dry_run=False)

@@ -165,7 +165,7 @@ def mirror(cat_url, args):
headers = os.path.join(args.zipdir, f'{groupname}-banner.headers')
req_headers = load_prev_headers(filename, headers)
retrieve(url, filename, extract=False,
headers=req_headers, save_headers=headers)
headers=frozendict(req_headers), save_headers=headers)

return group_urls.values()



Loading…
Cancel
Save