Skip to content

Fix -nc/--no-clobber

Tim Rühsen requested to merge tmp-fix-p-nc into master

-nc/--no-clobber skips downloading existing files. If -r/--recursive and/or -p/--page-requisites is given, parse the existing files as good as possible (charset and mimetype are lost without --xattr, so fallback to checking the filename extensions and hoping for charset being set by the HTML/CSS documents itself).

Closes #451 (closed)

Approver's checklist:

  • The author has submitted the FSF Copyright Assignment and is listed in AUTHORS
  • There is a test suite reasonably covering new functionality or modifications
  • Function naming, parameters, return values, types, etc., are consistent with existing code
  • This feature/change has adequate documentation added (if appropriate)
  • No obvious mistakes / misspelling in the code

Merge request reports