An API microservice that crawls dynamic website powered by puppeteer.
MIT License
An API microservice that crawls dynamic website powered by puppeteer.
One-click deploy to △ now
$ docker build -t micro-website-api .
$ docker run --rm -it \
-p 3000:3000 \
-e "TIMEOUT=300000" \
micro-website-api
ENV | Required | Default | Description |
---|---|---|---|
TIMEOUT |
V | Wait for timeout. |
Note: You should deploy your own service for production usage.
Click
to send an ajax and wait for a selector
.
[WebUI]
[API]
Click
to send an ajax and wait for a long timeout
.
[WebUI]
[API]
$ git clone https://github.com/evenchange4/micro-website-api.git
$ yarn install --pure-lockfile
$ yarn run dev # dev server
$ yarn start # prod server
$ yarn run format
$ yarn run eslint
$ yarn run test:watch
$ yarn run flow
$ yarn run test
).