generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 2
Configure Application
Kiril Murschel edited this page Feb 7, 2023
·
7 revisions
In the src/ folder you will find our configuration file: config.json
"download_dir": "./downloads"
"max_products": 5
"log_level": "DEBUG"
choose log_level between
["DEBUG", "INFO", "IMPORTANT", "WARNING", "ERROR", "CRITICAL"]
This config json als contains and a list of vendors. Example:
{
"name": "ABB", # name of Vendor
"class_name": "ABBScraper", # name of Scraper Class
"active": true, # scrape or not scrape
"interval": "0", # days as int
"last_update": "2023-02-01", # last run as yyyy-mm-dd
"next_update": "2023-02-01", # next run as yyyy-mm-dd
"max_products": null # limit products to scrape as int
}