(self)
| 46 | await self.crawler_strategy.__aexit__(exc_type, exc_val, exc_tb) |
| 47 | |
| 48 | async def awarmup(self): |
| 49 | if self.verbose: |
| 50 | print("[LOG] 🌤️ Warming up the AsyncWebCrawler") |
| 51 | await async_db_manager.ainit_db() |
| 52 | await self.arun( |
| 53 | url="https://google.com/", |
| 54 | word_count_threshold=5, |
| 55 | bypass_cache=False, |
| 56 | verbose=False, |
| 57 | ) |
| 58 | self.ready = True |
| 59 | if self.verbose: |
| 60 | print("[LOG] 🌞 AsyncWebCrawler is ready to crawl") |
| 61 | |
| 62 | async def arun( |
| 63 | self, |
no test coverage detected