Giter Site home page Giter Site logo

websitedownloader's Introduction

CodeFactor

Complete Website Downloader ๐Ÿ’พ

Download the complete source code of any website (including all assets) ๐Ÿ”จ.

๐Ÿ‘‰ Live Demo: https://site-dwloader.herokuapp.com/

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 this repo
  • $ npm install
  • $ npm start

websitedownloader's People

Contributors

ahmadibrahiim avatar dependabot[bot] avatar bswnth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.