1. --convert-links :把一個website的相對鏈接改成絕對鏈接,使之mirror的網站以網站的方式運行
wget --mirror -c -U "Mozilla" --convert-links -p https://docs.scrapy.org/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
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/75451.html
標籤:Linux
上一篇:CentOS安裝Docker
下一篇:bash命令列快捷鍵
