@socialgouv/get-html
v1.1.1
Published
Get some URL HTML content with puppeteer
Downloads
1,414
Readme
socialgouv/dashlord-actions/get-html
Get HTML content from any URL, single-page or not, using puppeteer
Usage
npm
const { getHTML } = require("@socialgouv/get-html");
getHTML("https://wikipedia.org").then(console.log);
github-action
jobs:
html:
steps:
- uses: "socialgouv/dashlord-actions/get-html@v1"
with:
url: https://wikipedia.org
# optionals
language: fr
output: result.html
- name: demo
run: |
cat result.html