mirror of
https://github.com/NikolaiT/se-scraper.git
synced 2025-06-20 17:47:49 +02: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) {
|
module.exports.handler = async function handler (event, context, callback) {
|
||||||
config = event;
|
let config = event;
|
||||||
pluggable = {};
|
let pluggable = {};
|
||||||
if (config.custom_func) {
|
if (config.custom_func) {
|
||||||
if (fs.existsSync(config.custom_func)) {
|
if (fs.existsSync(config.custom_func)) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user