get-set-fetch-scenario-extract-html-content

Extract Html Content scenario is used for extracting html nodes text based on dom selectors.

Usage no npm install needed!

<script type="module">
  import getSetFetchScenarioExtractHtmlContent from 'https://cdn.skypack.dev/get-set-fetch-scenario-extract-html-content';
</script>

README

get-set-fetch-scenario-extract-html-content

Selects html nodes via document.querySelectorAll. Scraping stores their text representation as innerText.

Defines a new scraping plugin - ExtractHtmlContentPlugin.