MCPcopy
hub / github.com/scrapy/scrapy / main

Function main

tests/CrawlerRunner/multi_parallel.py:17–22  ·  view source on GitHub ↗
(reactor)

Source from the content-addressed store, hash-verified

15
16
17def main(reactor):
18 configure_logging()
19 runner = CrawlerRunner()
20 runner.crawl(NoRequestsSpider)
21 runner.crawl(NoRequestsSpider)
22 return runner.join()
23
24
25install_reactor("twisted.internet.asyncioreactor.AsyncioSelectorReactor")

Callers

nothing calls this directly

Calls 4

crawlMethod · 0.95
joinMethod · 0.95
configure_loggingFunction · 0.90
CrawlerRunnerClass · 0.90

Tested by

no test coverage detected