You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Elbert Alias aebf15b841
Add requestTimeout option, timer for debugging
8 years ago
..
.gitignore Replace PhantomJS with Zombie in NPM driver 8 years ago
Dockerfile Replace PhantomJS with Zombie in NPM driver 8 years ago
README.md Add requestTimeout option, timer for debugging 8 years ago
driver.js Add requestTimeout option, timer for debugging 8 years ago
index.js Refactor NPM driver into class 8 years ago
package.json Add requestTimeout option, timer for debugging 8 years ago
yarn.lock Add user agent and max wait options to NPM driver 8 years ago

README.md

Wappalyzer

Wappalyzer is a cross-platform utility that uncovers the technologies used on websites. It detects content management systems, eCommerce platforms, web servers, JavaScript frameworks, analytics tools and many more.

Installation

$ npm i wappalyzer

Run from the command line

node index.js [url] [options]

Options

  --debug=0|1             Output debug messages.
  --delay=ms              Wait for ms milliseconds between requests.
  --max-depth=num         Don't analyze pages more than num levels deep.
  --max-urls=num          Exit when num URLs have been analyzed.
  --max-wait=ms           Wait no more than ms milliseconds for page resources to load.
  --recursive=0|1         Follow links on pages (crawler).
  --request-timeout=ms    Wait no more than ms millisecond for the page to load.
  --user-agent=str        Set the user agent string.

Run from a script

const options = {
  debug: false,
  delay: 500,
  maxDepth: 3,
  maxUrls: 10,
  maxWait: 1000,
  recursive: true,
  requestTimeout: 3000,
  userAgent: 'Wappalyzer',
};

const wappalyzer = new Wappalyzer('https://www.wappalyzer.com', options);

wappalyzer.analyze()
  .then(json => {
    process.stdout.write(JSON.stringify(json, null, 2) + '\n')

    process.exit(0);
  })
  .catch(error => {
    process.stderr.write(error + '\n')

    process.exit(1);
});