MCPcopy
hub / github.com/scrapy/scrapy / _start_crawler_thread

Method _start_crawler_thread

scrapy/commands/shell.py:127–135  ·  view source on GitHub ↗

Run self.crawler_process.start() in a separate thread.

(self)

Source from the content-addressed store, hash-verified

125 return loop
126
127 def _start_crawler_thread(self) -> None:
128 """Run self.crawler_process.start() in a separate thread."""
129 assert self.crawler_process
130 t = Thread(
131 target=self.crawler_process.start,
132 kwargs={"stop_after_crawl": False, "install_signal_handlers": False},
133 )
134 t.daemon = True
135 t.start()

Callers 2

_init_with_reactorMethod · 0.95
_init_without_reactorMethod · 0.95

Calls 1

startMethod · 0.45

Tested by

no test coverage detected