Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

Commit

Permalink
v0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrs committed Feb 8, 2014
1 parent 522c18c commit 0668058
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
.log
*.log
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ krawler
// url of the current webpage
// response object from mikeal/request
})
.on('err', function(err, url) {
// there has been an 'err' on 'url'
.on('error', function(err, url) {
// there has been an 'error' on 'url'
})
.on('end', function() {
// all URLs has been fetched
Expand Down Expand Up @@ -71,8 +71,8 @@ krawler
.on('data', function(json, url, response) {
// do something with json...
})
.on('err', function(err, url) {
// there has been an 'err' on 'url'
.on('error', function(err, url) {
// there has been an 'error' on 'url'
})
.on('end', function() {
// all URLs has been fetched
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ util.inherits(Krawler, events.EventEmitter);
* @type {number}
* @const
*/
Krawler.prototype.VERSION = 0.1;
Krawler.prototype.VERSION = 0.2;

/**
*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "krawler",
"version": "0.1.0",
"version": "0.2.0",
"description": "Fast and lightweight web crawler with built-in cheerio, xml and json parser.",
"keywords": [
"dom",
Expand Down

0 comments on commit 0668058

Please sign in to comment.