Web scraper (Playwright)
A command-line scraper that reads public pages in a real browser with Playwright, politely: terms and robots.txt checked first, an honest user agent, a slow pace, read-only, a host allow-list, a dry run, and tests against a local fixture server instead of the live site.
What you build
- A scraper that checks robots.txt, keeps a polite pace and refuses pages outside its host list
- A dry run that lists what it would visit, and records validated against a schema
- Tests on saved pages and a local fixture server, so no test touches a real site
What you need
| Stack | Node · TypeScript · Playwright · zod · Vitest |
|---|---|
| Level | Intermediate |
| Platform | Desktop, Server |
| Plan | Pro |
| Needs on your computer | Node.js |
| Setup questions | About 4 minutes |
Start a project from one of these templates
Free plan on macOS. Pro is $10 a month or $96 a year.