mirror of
https://github.com/NikolaiT/se-scraper.git
synced 2024-11-22 07:33:07 +01:00
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