目录

Website Downloader 💾

Download the complete source code of any website (including all assets) 🔨.

👉 Live Demo: https://websitedownloader.herokuapp.com/ Sorry heroku can’t deploy website anymore

enter image description here

Description 📒

Website downloader works with wget and archiver to download all websites assets and compress then sends it back to the user through socket channel

wget params the being used

wget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://example.org

Explanation of the various flags:

  • –mirror – Makes (among other things) the download recursive.
  • –convert-links – convert all the links (also to stuff like CSS stylesheets) to relative, so it will be suitable for offline viewing.
  • –adjust-extension – Adds suitable extensions to filenames (html or css) depending on their content-type.
  • –page-requisites – Download things like CSS style-sheets and images required to properly display the page offline.
  • –no-parent – When recursing do not ascend to the parent directory. It useful for restricting the download to only a portion of the site

How to run it 🤔

  • git clone https://github.com/Setiawan007/Website-Downloader.git
  • cd website-downloader
  • $ npm install
  • $ npm start
  • `http://localhost:3000/'

Thanks


Sociabuzz Tue Aug 22 12:28:19 UTC 2023
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号