0.1.0 • Published 5 years ago

gsf-ext-extract-html-headings v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

extract-html-headings

Example scenario for get-set, Fetch! browser extension

Extract Html Headings scenario is used for scraping H1, H2, H3, H4, H5, H6 text content.

Selects H1, H2, H3, H4, H5, H6 html headings via document.querySelectorAll. Scraping stores their text representation as innerText. Defines a new scraping plugin - ExtractHeadingsPlugin.

This bare-bone scraping project can be used as a basis for more advanced get-set-fetch-extension scenarios.