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

Function main

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

Source from the content-addressed store, hash-verified

20
21
22def main(reactor):
23 configure_logging()
24 runner = CrawlerRunner()
25 return runner.crawl(NoRequestsSpider)
26
27
28install_reactor("twisted.internet.asyncioreactor.AsyncioSelectorReactor", "uvloop.Loop")

Callers

nothing calls this directly

Calls 3

crawlMethod · 0.95
configure_loggingFunction · 0.90
CrawlerRunnerClass · 0.90

Tested by

no test coverage detected