Try Documentalist, my app that offers fast, offline access to 190+ programmer API docs.

  • mirroring a website
    wget --mirror --convert-links --adjust-extension --page-requisites --no-parent
    • --mirror – Makes (among other things) the download recursive.
    • --convert-links – convert all the links (also to stuff like CSS stylesheets) to relative, so it will be suitable for offline viewing.
    • --adjust-extension – Adds suitable extensions to filenames (html or css) depending on their content-type.
    • --page-requisites – Download things like CSS style-sheets and images required to properly display the page offline.
    • --no-parent – When recursing do not ascend to the parent directory. It useful for restricting the download to only a portion of the site.
  • options
    • -nc : --no-clobber, don't over-write if exist
    • -r : recursive
    • -np : --no-parent, when recursive, don't download from parent directories
    • -nH : --no-host-directories, disable generation of host-prefixed directories (don't put host name in directory name)
    • -L : --relative, follow relative links only
    • --cut-dirs=2 : shorten final directory name by cutting 2 first element from source
    • -nv : --no-verbose, less verbose but not fully quite as -q

Feedback about page:

Optional: your email if you want me to get back to you:

Share on        

Need fast, offline access to 190+ programmer API docs? Try my app Documentalist for Windows