Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

Crawler

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Crawler

Search for anything on web.

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

Crawler

Search anything on Web.

Crawler is simple NodeJS based web crawler that crawls a website within seconds.

Quick start

  1. Clone the repo and cd path_to_directory
  2. npm install.
  3. npm start search_term.

Installation

npm install Crawler

Usage

var Crawler = require('Crawler');
var c = new Crawler({
  address: 'http://www.example.com',
  term: 'example'
});
c.start();

Configuration Options

To configure Crawler, provide following options to the crawler object.

  1. address: This is the website to be crawled. http://www.quora.com is currently passed in default main.js in the repo.
  2. term: Term to be searched on the website. Provided as a command line argument if using default main.js.
  3. maxPages: This is the maximum number of pages of the website that will be crawled. 100 is set by default.
  4. maxConcurrency: This is maximum number of requests can be sent at any given time. 5 is set by default.

Ouput

  1. All the links where search_term is found are compiled in a HTML file at the end of the crawling.
  2. Console outputs links as they are crawled.

Keywords

FAQs

Package last updated on 27 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc