Giter VIP home page Giter VIP logo

crawldiff's Introduction

crawldiff

crawlldiff will help with migrating websites from one system to another. Will crawl a website and compare it to another, reporting on any differences.

Installation

You can optionally choose to install this tool locally, or just execute it using npx and npm will automatically download it on first use.

To install it globally, use:

  npm install -g crawldiff

Or as part of a specific project, use:

  npm install --save-dev crawldiff

Configuration

No configuration necessary.

Usage

Usage: npx crawldiff [options] <start> <comparison>

Crawls a website and compares each page to a different host.

Arguments:

Argument Description
start the initial page to start crawling (e.g. https://www.example.com/)
comparison the secondary host to compare against (e.g. https://new.example.com/ )

Options:

Option Description
-v, --version output the version number
-s, --similarity <0.01-1.0> specifiy the minimum required similarity between hosts (default: 1)
-t, --timeout the maximum time in seconds to run the crawler (default: 60)
-r, --resources include static resources (such as scripts and styles) in comparison
-d, --detailed report full detailed diffs for each problem
-m, --mobile identify as a mobile device via user-agent
-w, --warmup-cache makes two requests to each URL and compares only the second. This ensures that you are always comparing the warmed (cached) version of the page
-V, --verbose provide more detailed output while running
-D, --debug provide debug level output while running
-h, --help display help for command

Copyright / License

See LICENSE

crawldiff's People

Contributors

araines avatar dependabot[bot] avatar mattnewsuk avatar mblackford 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.