wget做离线镜像站命令

核心命令

wget --mirror \
--no-clobber --restrict-file-names=windows \
--convert-links --adjust-extension --page-requisites \
--no-parent --domains google.cn \
--wait=1 https://developer.android.google.cn/reference/packages.html

作用:Android API 25开始没有离线文档了,studio里Ctrl+QAPI Level时,一直是fetching documentation...,为了加快速度,所以需要把官方文档扒站下来。

Make Offline Mirror of a Site using wget
https://www.guyrutenberg.com/2014/05/02/make-offline-mirror-of-a-site-using-wget/

Downloading an Entire Web Site with wget
http://www.linuxjournal.com/content/downloading-entire-web-site-wget

你可能感兴趣的:(wget做离线镜像站命令)