(self, url: str, html: str, **kwargs)
| 31 | |
| 32 | class WebScrappingStrategy(ContentScrappingStrategy): |
| 33 | def scrap(self, url: str, html: str, **kwargs) -> Dict[str, Any]: |
| 34 | return self._get_content_of_website_optimized(url, html, is_async=False, **kwargs) |
| 35 | |
| 36 | async def ascrap(self, url: str, html: str, **kwargs) -> Dict[str, Any]: |
| 37 | return await asyncio.to_thread(self._get_content_of_website_optimized, url, html, **kwargs) |
no test coverage detected