1

I'm new to SpookyJS. In the hello.js example which has been provided i tried changing the url

http://en.wikipedia.org/wiki/Spooky_the_Tuff_Little_Ghost

to

https://www.twitter.com/

or

www.facebook.com with https

none of these seem to be opening.

PhantomJS version is 1.9.0

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
Hasan 0
  • 29
  • 7

1 Answers1

0

This may be very well related the POODLE problem of PhantomJS. (Reference) It is usually fixed by passing --ssl-protocol=tlsv1 and possibly --ignore-ssl-errors=true on the commandline.

Judging by issue #81, you can do this in SpookyJS:

var spooky = new Spooky({
  capser: {
    logLevel: "debug",
    verbose: true
  },
  child: {
    command: "casper",
    "ssl-protocol": "tlsv1",
    "ignore-ssl-errors": true
  }
});

You may also want to update PhantomJS. This is fixed in 1.9.8 and later, but CasperJS doesn't currently (1.1-beta3) support PhantomJS 2. Either use the master branch of CasperJS which does support PhantomJS 2 or stick to 1.9.8.

Community
  • 1
  • 1
Artjom B.
  • 61,146
  • 24
  • 125
  • 222