/thai-districts

Example of using Playwright scraping website

Primary LanguageTypeScript

Playwright in Docker container

Example of using Playwright with Node.js scraping Districts in Thailand. Also use Redis as a cache db.

  1. Unfortunately, you need the debian os since Playwright docker image from Microsoft only support debian.
  2. Run docker-compose up --build
  3. Navigate to http://localhost:3002/api/districts