Skip to content

Commit

Permalink
Log scraping start on server
Browse files Browse the repository at this point in the history
  • Loading branch information
vmandic committed Jan 26, 2024
1 parent c6c44d0 commit 57fdaf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http_server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ wss.on("connection", (ws) => {
scrapingConcurrentCount++;
// TODO: implement a failsafe to unhook on client disconnect
ws.send(`Starting scraper for URL: ${url}`);
console.log(`Starting scraper for URL: ${url}`);
await startScraping({
initialUrl: url,
saveScrapeFile: false,
Expand Down

0 comments on commit 57fdaf3

Please sign in to comment.