seethroughtrees/casperjs-spider — pull request #5 by rjduffner (2014-04-08 05:56:08+00:00)
Title: Incoming cookie

@seethroughtrees, I think I got all of the suggestions. I changed the branch before I wrote them all down.

One thing. If the user enters an invalid JSON string into the "--cookie=" parameter, the code will throw a syntax error. I thought this was more preferable to continuing and running the spider without the cookie. If you disagree, let me know and we can add exception handling around that area.