feat(scrapeURL): log URL for easy searching

This commit is contained in:
Gergő Móricz 2024-11-12 17:54:48 +01:00
parent e95b6656fa
commit 9f8b8c190f

View File

@ -95,7 +95,7 @@ function buildMetaObject(id: string, url: string, options: ScrapeOptions, intern
internalOptions = Object.assign(internalOptions, specParams.internalOptions); internalOptions = Object.assign(internalOptions, specParams.internalOptions);
} }
const _logger = logger.child({ module: "ScrapeURL", scrapeId: id }); const _logger = logger.child({ module: "ScrapeURL", scrapeId: id, scrapeURL: url });
const logs: any[] = []; const logs: any[] = [];
return { return {