Permalink
Browse files

Update README.markdown

Added some information about the new `discoverycomplete` event.
  • Loading branch information...
1 parent 5610ff6 commit 64c0f9ea826fcb0107b0ce275f2b6ec129a8764e @cgiffard cgiffard committed Dec 28, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 README.markdown
View
@@ -100,6 +100,8 @@ Fired when a 404 HTTP status code is returned for a request.
Fired when an alternate 400 or 500 series HTTP status code is returned for a request.
* `fetchclienterror` ( queueItem, errorData )
Fired when a request dies locally for some reason. The error data is returned as the second parameter.
+* `discoverycomplete` ( queueItem, resources)
+Fired when linked resources have been discovered. Passes an array of resources (as URLs) as the second parameter.
* `complete`
Fired when the crawler completes processing all the items in its queue, and does not find any more to add. This event returns no arguments.
@@ -263,5 +265,7 @@ I'd appreciate it if you'd contribute patches back, but you don't have to. If yo
### Contributors
-Thanks to [Nick Crohn](https://github.com/ncrohn) for the HTTP Basic auth support. Thanks also to [Mike Moulton](https://github.com/mmoulton) for [fixing a bug in the URL discovery mechanism](https://github.com/cgiffard/node-simplecrawler/pull/3)
-and [Mike Iannacone](https://github.com/mikeiannacone) for correcting a keyword naming collision with node 0.8's EventEmitter.
+Thanks to [Nick Crohn](https://github.com/ncrohn) for the HTTP Basic auth support.
+Thanks also to [Mike Moulton](https://github.com/mmoulton) for [fixing a bug in the URL discovery mechanism](https://github.com/cgiffard/node-simplecrawler/pull/3),
+as well as [adding the `discoverycomplete` event](https://github.com/cgiffard/node-simplecrawler/pull/10),
+and [Mike Iannacone](https://github.com/mikeiannacone) for correcting a keyword naming collision with node 0.8's EventEmitter.

0 comments on commit 64c0f9e

Please sign in to comment.