diff --git a/crawl4ai/async_webcrawler.py b/crawl4ai/async_webcrawler.py index 36b999fd1..3ce3e4534 100644 --- a/crawl4ai/async_webcrawler.py +++ b/crawl4ai/async_webcrawler.py @@ -1,4 +1,4 @@ -from .__version__ import __version__ as crawl4ai_version +from .__version__ import __version__ as crawl4ai_version import os import re import sys @@ -252,6 +252,7 @@ async def arun( try: self.logger.verbose = config.verbose + kwargs.pop('verbose', None) # prevent conflict with **kwargs forwarding # Default to ENABLED if no cache mode specified if config.cache_mode is None: config.cache_mode = CacheMode.ENABLED @@ -1186,4 +1187,4 @@ async def aseed_urls( seeding_config ) else: - raise ValueError("`domain_or_domains` must be a string or a list of strings.") \ No newline at end of file + raise ValueError("`domain_or_domains` must be a string or a list of strings.") diff --git a/tests/test_verbose_bug.py b/tests/test_verbose_bug.py new file mode 100644 index 000000000..f8ecf486d Binary files /dev/null and b/tests/test_verbose_bug.py differ