Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

nested parseHtml broken? #92

Closed
Robdr opened this Issue · 0 comments

2 participants

@Robdr

Hi,

Running the Job below results in the data not being parsed and a premature exit of the job ("no job complete"-notifcation). Can you have a look at this?

Thanks!

var nodeio = require('node.io');

exports.job = new nodeio.Job({

    input: [1],

    run: function(input) {
        var self = this;
        self.get('www.github.com',function (err, data, headers) {
            if (err) {
                console.log('error')
                self.retry();
            }
            else {
                console.log("starting parsing html");
                self.parseHtml(data, function (err, $) {
                   console.log("data parsed");
                });
            }
        });

    }
});
@chriso chriso closed this in fb34d9d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.