wget 下载整个网站源码
生活随笔
收集整理的這篇文章主要介紹了
wget 下载整个网站源码
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
歡迎關注原創視頻教程
Python微信訂餐小程序課程視頻
https://edu.csdn.net/course/detail/36074
Python實戰量化交易理財系統
https://edu.csdn.net/course/detail/35475
wget 下載整個網站源碼
在linux下可以使用wget遞歸下載整個網站前端源代碼 具體如下:
wget -r -p -np -k http://v.bootstrapmb.com/2019/6/cfx6e5241/material/各參數說明如下
-c, --continue resume getting a partially-downloaded file. 斷點續傳 -nd, --no-directories don't create directories. 不創建層級目錄,所有文件下載到當前目錄 -r, --recursive specify recursive download. 遞歸下載 -p, --page-requisites get all images, etc. needed to display HTML page. 下載頁面所有文件,使頁面能在本地打開 -k, --convert-links make links in downloaded HTML or CSS point to local files. 轉換鏈接指向本地文件 -np, --no-parent don't ascend to the parent directory. 不下載父級目錄的文件 -o, --output-file=FILE log messages to FILE. 指定日志輸出文件 -O, --output-document=FILE write documents to FILE. 指定文件下載位置 -L, --relative follow relative links only. 只下載相對鏈接,如果頁面嵌入其他站點不會被下載總結
以上是生活随笔為你收集整理的wget 下载整个网站源码的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: xtwpro2编程器_zadig v2.
- 下一篇: visio 模板_Mac软件推荐:免费的