Example of using Playwright with Node.js scraping Districts in Thailand. Also use Redis as a cache db.
- Unfortunately, you need the
debian
os sincePlaywright
docker image from Microsoft only support debian. - Run
docker-compose up --build
- Navigate to
http://localhost:3002/api/districts