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

Function main

tests/AsyncCrawlerRunner/reactorless_simple.py:18–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17
18async def main() -> None:
19 configure_logging()
20 runner = AsyncCrawlerRunner(settings={"TWISTED_REACTOR_ENABLED": False})
21 await runner.crawl(NoRequestsSpider)
22
23
24asyncio.run(main())

Callers 1

Calls 3

crawlMethod · 0.95
configure_loggingFunction · 0.90
AsyncCrawlerRunnerClass · 0.90

Tested by

no test coverage detected