403 Forbidden for access to website... Help???

47 views
Skip to first unread message

Andrea D'Errico

unread,
Nov 10, 2015, 10:53:28 AM11/10/15
to CasperJS
Hi, I have a problem with a website for a research I'm doing for my istitute.
The website is this: http://researchchemist.co.uk/

I can't get nothing from this url...
The response is 403 forbidden.

Can you help me?

This is my code:

var utils = require('utils');
var casper = require('casper').create({
    verbose: true, 
    logLevel: 'debug',
    pageSettings: {
      loadImages:  true,         // The WebPage instance used by Casper will
      loadPlugins: true,        // use these settings
      userAgent: 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)',
      XSSAuditingEnabled: true,
      localToRemoteUrlAccessEnabled: true
  }
    

});

casper.start('http://researchchemist.co.uk/', function() {
    this.echo(this.getTitle());
    casper.capture('hhh.png')
});


casper.run()
Reply all
Reply to author
Forward
0 new messages