diff --git a/scrapy_playwright/handler.py b/scrapy_playwright/handler.py index b475d61..d45c5c2 100644 --- a/scrapy_playwright/handler.py +++ b/scrapy_playwright/handler.py @@ -142,7 +142,10 @@ def __init__(self, crawler: Crawler) -> None: self.config = Config.from_settings(crawler.settings) if self.config.use_threaded_loop: + logger.warning("Starting threaded loop") _ThreadedLoopAdapter.start(id(self)) + else: + logger.warning("NOT starting threaded loop") self.browser_launch_lock = asyncio.Lock() self.context_launch_lock = asyncio.Lock()