forked from extern/se-scraper
fixed issue 12
This commit is contained in:
parent
7a8c6f13f0
commit
1bed9c5854
@ -40,8 +40,8 @@ function getScraper(searchEngine, args) {
|
||||
}
|
||||
|
||||
module.exports.handler = async function handler (event, context, callback) {
|
||||
config = event;
|
||||
pluggable = {};
|
||||
let config = event;
|
||||
let pluggable = {};
|
||||
if (config.custom_func) {
|
||||
if (fs.existsSync(config.custom_func)) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user