C# Headless Table Scraper

Job ID: 40207652

Budget: ₹1,000 – ₹2,000 INR

I need a small, head-less C# console program that relies on API or Playwright or PuppeteerSharp to automate a web portal. The flow is simple: open the site as a guest (no credentials required), submit a single text input as the search parameter, wait for the results, then harvest every HTML table that appears. Each table must be written to its own worksheet inside the same .xlsx file. Any images returned alongside the tables should be downloaded to a local folder the program creates during the run.

Because the tool will run unattended on a server, everything—navigation, scraping, Excel generation, and image download—has to execute in the background without opening a visible browser window. JavaScript or REST calls that the site already exposes are fair game if they help keep the interaction truly headless.

Deliverables
• Visual Studio-ready C# source (targeting .NET 6 or later) with clear, in-line comments
• A brief README explaining build steps, required NuGet packages (Playwright, PuppeteerSharp, ClosedXML, etc.), and how to feed in the text search parameter
• Compiled executable for quick smoke testing

Acceptance criteria
• Running the exe with a sample search term produces an Excel file where every table occupies its own sheet and a folder containing the related images
• No browser window flashes; the process must stay hidden throughout
• Code is clean, idiomatic C#, easy to extend (e.g., additional export formats later)

That’s it—I’m ready to test as soon as you deliver the build.