1.1.1 • Published 1 year ago

@socialgouv/get-html v1.1.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

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
1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

3 years ago

1.0.0

3 years ago