New Feature: Raw HTML Scraping with Multiscrape 🌐
I'm excited to announce that it is now possible to scrape raw HTML in Multiscrape! This feature has been a recurring request over the years, and I'm happy I could finally implement it. 🎉
It could for example be used to for displaying rich content on a markdown card.
A new configuration option for selectors has been added called extract
. It is optional and can have these values:
- Text (default): Extracts plain text, as you are used to. 📝
- Content: Returns the content of the selected tag. 📜
- Tag: Returns both the content and the tag itself. 🏷️
With this feature, your sensors (or attributes) can now have a state/value like:
<p>This is an <b>example</b> of what can be scraped with the <i>extract</i> feature.</p>
Thank you for your continued support, and happy scraping! 🥳
Changes
- New feature to scrape and extract raw html @danieldotnl (#416)
- Update README.md @danieldotnl (#413)
- Update dependency pytest-homeassistant-custom-component to v0.13.158 @renovate (#414)
- Update dependency ruff to v0.6.3 - autoclosed @renovate (#410)
- Update dependency pytest-homeassistant-custom-component to v0.13.157 @renovate (#412)
- Update actions/setup-python action to v5.2.0 @renovate (#411)
- Update dependency pytest-homeassistant-custom-component to v0.13.156 @renovate (#408)