17 lines
328 B
Python
17 lines
328 B
Python
import logging
|
|
import sys
|
|
|
|
import config
|
|
from adapters import SCRAPERS
|
|
from huizenbot import run
|
|
|
|
logging.basicConfig(
|
|
stream=sys.stdout,
|
|
level=logging.INFO,
|
|
format="%(asctime)s %(levelname)s %(name)s — %(message)s",
|
|
datefmt="%Y-%m-%dT%H:%M:%S",
|
|
)
|
|
|
|
if __name__ == "__main__":
|
|
run(SCRAPERS, config.DB_PATH)
|