Yeah, I know. The bind function is not supported by Phantomjs. But maybe I can use something else or tell page.open not to use bind ? Everything seems to be in order, but some sites return error
TypeError: 'undefined' is not a function (evaluating 'b.bind(a)')
After that, I wrote a simple script that simply opens the page:
var address = phantom.args[0]; if(!address) phantom.exit(1); page = require("webpage").create(); page.open(address, function(status){ setInterval( function () { console.log( page.evaluate(function() { return document.body.innerHTML.length; }) )}, 200) })
But the error still exists. The error is not the main problem, but the problem is getting the contents of the page, because after the contents of the error page does not load ...
So I need some help.
PS Problem Website http://vkrushelnytskiy.wix.com/aaaa
source share