GithubHelp home page GithubHelp logo

websitescrapper's Introduction

websiteScrapper

This node js project can be used to download any website using node js command line.

Usage : node index.js http://www.mywebsitetodownload.com

Output will be saved in a folder named "output".

Limitations:

  1. This does not follow robot rules.
  2. This cannot be used to download https websites and resources.
  3. Excessive pipe download can give memory leak warnings for large website.
  4. No HTML/CSS links are changed post download to change absolute to relative paths.
  5. Only background CSS images would be downloaded which have syntax as defined by W3C.
  6. Inline CSS not parsed.
  7. No other resource that are path of external CSS downloaded (eg : @import(...)).

Config: Basic configurations added as initial commit. These can be modified in config.js. config.requestThreshold=2; // Number of webpages to be parsed simultaneously config.parseEntireWebsite=true; // Download all the webpages following the links (this can move outisde your domain config.stayOnDomain=true; // Downloads webpages inside domain only.

websitescrapper's People

Contributors

priyankjaintechnetto avatar priyank2005 avatar

Watchers

James Cloos avatar  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.