marcelduran/yslow

Fail to load undefined

akashnimare opened this issue · 2 comments

I am getting this error on a specific url. Do you know the solution for this?

This should be fixed, have a better error and/or be documented. I needed to add --ssl-protocol=any as described in #149.

$ phantomjs yslow.js --info basic https://www.yahoo.com
FAIL to load undefined
$ phantomjs --ssl-protocol=any yslow.js --info basic https://www.yahoo.com
{"v":"3.1.8","w":722389,"o":91,"u":"https%3A%2F%2Fwww.yahoo.com%2F","r":34,"s":"0","i":"ydefault","lt":7977}
daluu commented

The referenced issues seems to mention phantomjs 1.8. This fix doesn't seem to work on 1.9.8 installed via homebrew on Mac.