(self, crawler: Crawler)
| 95 | shell.start(url=url, redirect=not opts.no_redirect) |
| 96 | |
| 97 | def _init_with_reactor(self, crawler: Crawler) -> None: |
| 98 | # Create the engine and run start_async() in the main thread |
| 99 | crawler.engine = crawler._create_engine() |
| 100 | _schedule_coro(crawler.engine.start_async(_start_request_processing=False)) |
| 101 | self._start_crawler_thread() |
| 102 | |
| 103 | def _init_without_reactor(self, crawler: Crawler) -> None: |
| 104 | # Create the engine and run start_async() in the event loop thread |
no test coverage detected