node-scraper icon indicating copy to clipboard operation
node-scraper copied to clipboard

Final Callback

Open gaara87 opened this issue 13 years ago • 1 comments

This is not an issue as much as feature request, and i really don't know where else to put it, but i was wondering whether it would be a good idea to have a universal final callback after all the scraping is done.

For example, if i am hitting 20 urls, there is a callback for every hit, but what i want to close a db connection at the end of all the 20 hits and data manipulation. Thought it might be helpful at some point.

Thanks in advance

gaara87 avatar Jul 07 '11 10:07 gaara87

I concur.

nickewansmith avatar Jun 03 '13 19:06 nickewansmith