Added Scraper API option.

This commit is contained in:
Naida Vatric
2020-02-22 22:15:27 +01:00
parent 6791a509d0
commit d436d4a37b
3 changed files with 20 additions and 3 deletions

View File

@@ -45,6 +45,9 @@ const USER_AGENT =
process.env.USER_AGENT ||
"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36";
const USE_SCRAPER_API = process.env.USE_SCRAPER_API || 0; //Default not to use?
const SCRAPER_API_KEY = process.env.SCRAPER_API_KEY || "";
module.exports = {
APP_PORT,
APP_URL,
@@ -59,5 +62,7 @@ module.exports = {
STAGING,
CHECK_UP_DAYS,
PROSTOR_LOGIN,
USER_AGENT
USER_AGENT,
USE_SCRAPER_API,
SCRAPER_API_KEY
};