Configure explain log level via cli and config file

This commit is contained in:
Joscha
2021-05-19 17:48:51 +02:00
parent 92886fb8d8
commit 0d10752b5a
6 changed files with 44 additions and 23 deletions

View File

@ -46,7 +46,7 @@ class LocalCrawler(Crawler):
):
super().__init__(name, section, config)
self._target = config.working_dir / section.target()
self._target = config.default_section.working_dir() / section.target()
self._crawl_delay = section.crawl_delay()
self._download_delay = section.download_delay()
self._download_speed = section.download_speed()