Вопрос по javascript – PhantomJS оценивает с базовой аутентификацией, возвращая ноль

1

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded (test:rosebud)

Error: User Rate Limit Exceeded

var webpage = require('webpage');

page = webpage.create();
page.settings = {
    userName: "test",
    password: "rosebud"
};

page.open("http://alexturpin.net/auth/", function(status) {
    console.log(status);
    var retval = page.evaluate(function() {
        return "test";
    });
    console.log(retval);
});

Error: User Rate Limit Exceeded

$ phantomjs test.js
success
null

Error: User Rate Limit ExceededevaluateError: User Rate Limit ExceedednullError: User Rate Limit ExceededstatusError: User Rate Limit Exceeded"success".

Error: User Rate Limit ExceededError: User Rate Limit ExceededError: User Rate Limit Exceeded

Error: User Rate Limit ExceededevaluateError: User Rate Limit Exceeded

Ваш Ответ

2   ответа
-2

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded Alex Turpin
4

Error: User Rate Limit ExceededuserNameError: User Rate Limit ExceededpasswordError: User Rate Limit Exceeded

page.settings.userName = "test";
page.settings.password = "rosebud";

Error: User Rate Limit ExceededsettingsError: User Rate Limit Exceeded

Error: User Rate Limit Exceededphantom.exit();
Error: User Rate Limit Exceeded Alex Turpin

Похожие вопросы