wget 下载整个网站源码
生活随笔
收集整理的這篇文章主要介紹了
wget 下载整个网站源码
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
歡迎關(guān)注原創(chuàng)視頻教程
Python微信訂餐小程序課程視頻
https://edu.csdn.net/course/detail/36074
Python實(shí)戰(zhàn)量化交易理財(cái)系統(tǒng)
https://edu.csdn.net/course/detail/35475
wget 下載整個網(wǎng)站源碼
在linux下可以使用wget遞歸下載整個網(wǎng)站前端源代碼 具體如下:
wget -r -p -np -k http://v.bootstrapmb.com/2019/6/cfx6e5241/material/各參數(shù)說明如下
-c, --continue resume getting a partially-downloaded file. 斷點(diǎn)續(xù)傳 -nd, --no-directories don't create directories. 不創(chuàng)建層級目錄,所有文件下載到當(dāng)前目錄 -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. 轉(zhuǎn)換鏈接指向本地文件 -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. 只下載相對鏈接,如果頁面嵌入其他站點(diǎn)不會被下載總結(jié)
以上是生活随笔為你收集整理的wget 下载整个网站源码的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: xtwpro2编程器_zadig v2.
- 下一篇: visio 模板_Mac软件推荐:免费的