1. --convert-links :把一个website的相对链接改成绝对链接,使之mirror的网站以网站的方式运行 wget --mirror -c -U 'Mozilla' --convert-links -p https://docs./en/latest/ 2.如果你是用Mac os x ,装httpie这个包也能达到curl命令的效果,且表现效果更好看。 安装方法: brew install httpie (乌邦图) apt isntall httpie 使用: http (加参数) 3.在本机访问下载mirror, (1)open index.http (2)先进入 下载的文件目录,然后用python内建的web服务器 python -m http.server (这个命令会自动寻找index.http) 随后终端回return 你需要的url,在浏览器打开即可 2020-05-23 |
|