nehalist
01/12/2026, 9:38 PMPlaywrightCrawler while site Y uses CheerioCrawler. I wrap this logic in a definition like
class SiteXCrawlerDefinition {
getCrawler() { return new PlaywrightCrawler() }
}
since I do want to add an interface to the crawler definition classes I'd need a return type for getCrawler. BasicCrawler doesn't work - is there another type for "just any crawlee crawler"?Answer Overflow
01/12/2026, 9:38 PMNazar Hrozia
01/13/2026, 1:50 PMnehalist
01/16/2026, 11:21 PM