pluggable is now class

This commit is contained in:
Nikolai Tschacher
2019-01-27 19:08:07 +01:00
parent 8e695626b6
commit 86a66a09fd
4 changed files with 51 additions and 43 deletions

2
run.js
View File

@ -35,7 +35,7 @@ let config = {
// get_browser, handle_metadata, close_browser
// must be an absolute path to the module
//custom_func: resolve('examples/pluggable.js'),
custom_func: '',
custom_func: resolve('examples/pluggable.js'),
};
se_scraper.scrape(config, (err, response) => {