Hacker News new | ask | show | jobs
by zerni 4679 days ago
nice!

I did a webcrawler with node.js myself last year. It's only a quick try but you can find the worker class here: https://gist.github.com/zerni/6337067

Unfortunately jsdom had a memory leak so the crawler died after a while...

1 comments

If you want to fix the memory leak, I remember you need to do `window.close()` after the job is done.
thanks mate!