1.2.2 • Published 7 years ago

ccrawler v1.2.2

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

CCrawler

A configurable web crawler

Installation:

npm install ccrawler

Or, alternatively

npm install -g ccrawler

Simple write a script file and ccrawler will crawl through it. For example:

open "http://www.globo.com"
find ".hui-premium__title"
inner-html

You can run this file with ccrawler -f crawlfile.

Variables

At any point you can use variables, like open "http://mysite/${page}", and you can pass the variable to the cli with ccrawler --page foo

As a library

const ccrawler = require('ccrawler')

ccrawler.execFile('./myfile', {page: 'foo'})
  .then(result => console.log(result))
  .catch(err => console.log(err))
1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago