10 Commits

Author SHA1 Message Date
David Glasser
6c6fa5a6b1 Fix race condition in spiderable.
If the "check to see if page is ready" interval ran when "Meteor" is defined but
"Meteor.status" is not yet defined, an error message about trying to call an
undefined function would be dumped into the output source before the page
itself.

This can be easily reproduced by changing the timer interval from 100 to 1.
2012-09-24 10:41:14 -07:00
David Glasser
e27304c999 Work around Node 0.8 brokenness with using /dev/stdin in subprocesses. 2012-09-19 13:50:06 -07:00
Nick Martin
0397945fd8 Add hack in livedata_connection to support knowing when all data is received on all connections. 2012-08-03 22:00:25 -07:00
Nick Martin
07c703270c Use subscription readiness instead of timeout.
This only looks at default_connection, though, which isn't good. May need to patch livedata.
2012-08-03 20:59:38 -07:00
Nick Martin
24c2fe9d7f Add timeout so requests can't take forever. 2012-08-03 19:06:14 -07:00
Nick Martin
ee7fc09c16 Handle ? in query string better. 2012-08-03 18:12:59 -07:00
Nick Martin
81cb0239f0 Check for errors from phantomjs. 2012-08-03 18:11:25 -07:00
Nick Martin
7632dc0386 Avoid writing a tempfile by using '/dev/stdin'. Hacky, but functional. 2012-08-02 23:06:41 -07:00
Nick Martin
0d27fa40f2 Fix encoding. 2012-08-02 22:39:28 -07:00
Nick Martin
dc34cff990 add spiderable package 2012-08-02 22:21:13 -07:00