xeusteerapat / thai-districts

Example of using Playwright scraping website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Example of using Playwright scraping website


Languages

Language:TypeScript 81.1%Language:Dockerfile 18.9%