-
Notifications
You must be signed in to change notification settings - Fork 878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read property 'firstChild' of null #1
Comments
by the way, crawler@0.0.2, jsdom@0.2.0 |
Hi, I also had trouble with jsdom@0.2.0 with node 0.3.x so I released node-crawler 0.0.3 with dependency jsdom = 0.1.20 ... I will probably release 0.1 soon with node 0.4.x and jsdom 0.2.x compatibility |
great, thanks...let me try that... |
mike442144
pushed a commit
that referenced
this issue
Jan 5, 2018
cffi - new version, python.h needed for compile
mike442144
pushed a commit
that referenced
this issue
Nov 23, 2020
milestone for the http2 crawler function added, basic functionality a…
Miniast
added a commit
that referenced
this issue
May 6, 2024
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm creating crawler as:
var c = new Crawler({
'maxConnections':1,
'callback': function(error, result, $){
$('td.title + a').each(function(a){
var tmp = new blogitem(a.val, a.href);
news.push(tmp);
});
uploadPosts(news);
}
});
setInterval(function(){
c.queue([{
'uri': 'http://127.0.0.1/posts',
'timeout': 120
}]);
}, 10000);
When I run the server.js, it gives TypeError: Cannot read property 'firstChild' of null. I've tried just to put sys.puts(response) in the callback, but the result is the same...
The text was updated successfully, but these errors were encountered: