Download any website including assets!
$ git clone https://github.com/alexanderroidl/website-downloader.git
$ cd website-downloader
$ npm start
Website Downloader
works by using wget
to download a website's assets and archiver
to compress them while communicating via a HTTP API and Websockets.
wget
is being used like so:
wget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://example.org
Flag | Description |
---|---|
--mirror | To download recursively. |
--convert-links | Convert all links to relative links, to make them suitable for offline presentation. |
--adjust-extension | Add suitable extensions to filenames based on their MIME types. |
--page-requisites | Download assets required to properly display the page offline. |
--no-parent | When recursing do not ascend to the parent directory. |
- Original Website-Downloader by Ahmad Ibrahiim. License: MIT
- Floppy emoji designed by OpenMoji. License: CC BY-SA 4.0