Skip to content

Releases: danieldotnl/ha-multiscrape

v7.0.0 Scrape service with response

28 Mar 20:58
6e19c85
Compare
Choose a tag to compare

New services!

This major release contains 2 brand new services that should make figuring out your configuration and css selectors much easier!
It makes use of the new functionality in Home Assistant that services can now provide a response. To make this possible, significant refactoring was required.

multiscrape.get_content
This service retrieves the content of the website you want to scrape. It shows the same data for which you had to enable log_response and open the page_soup.txt file.

multiscrape.scrape
This does what it says. It scrapes based on a configuration you can provide in the service data. It is ideal for quickly trying out multiple css selectors, or to scrape data in an automation that you only need when running that automation.

A nice detail is that both services accept exactly the same configuration as you provide in your configuration yaml. Even the form_submit features are supported! However, there is a small but important caveat. Read more about it in the readme.

Changes

Fix issue with headers when using form_submit

04 Jan 21:02
b522a3e
Compare
Choose a tag to compare

Changes

  • Fix issue in creating renderers for dictionaries with templates @danieldotnl (#313)

Support for templates in request headers

03 Jan 20:10
e8eec97
Compare
Choose a tag to compare

Changes

🌈v6.7.6: Upgrade lxml (required for HA 2024.1)

02 Jan 15:39
1f4d45a
Compare
Choose a tag to compare

Changes

Parse template results into their own data type

20 Dec 21:25
9b4c2ca
Compare
Choose a tag to compare

Changes

Support for dictionaries and other types in attributes

06 Sep 09:03
Compare
Choose a tag to compare

I am very motivated by coffee!! If you are enjoying this multiscrape custom component, please consider to:
"Buy Me A Coffee"

Changes

  • Attributes set by a value_template are now parsed into their type, e.g. dictionary

📦 Dependencies

Fix icon in binary_sensor

24 Jul 14:09
aa18f8b
Compare
Choose a tag to compare

If you are enjoying this multiscrape custom component, please consider to:
"Buy Me A Coffee"

Changes

Fix multiscrape does not start in 2023.7.1

07 Jul 08:37
871534f
Compare
Choose a tag to compare

Changes

📦 Dependencies

  • Bump release-drafter/release-drafter from 5.23.0 to 5.24.0 (#212) @dependabot
  • Bump reorder-python-imports from 3.9.0 to 3.10.0 in /.github/workflows (#211) @dependabot
  • Bump pre-commit from 3.3.1 to 3.3.3 in /.github/workflows (#210) @dependabot

Support for scan_interval = 0 and icons after errors

05 May 20:07
Compare
Choose a tag to compare

Changes

  • It is now possible to set scan_interval to 0. This will only update the sensors on startup or when triggered by the trigger service. If it fails on startup it will retry 3 times with 30 seconds in between. Fix #188
  • Fix conversion errors when trying data could not be retrieved and HA was trying to convert the unavailable state to a float or datetime
  • Add more detailed logging on request timeouts
  • Icons are now also set in case of scraping errors. This is especially useful when you have defined a default value in on_error Fix #190

📦 Dependencies

Timestamp sensors

06 Jan 15:05
Compare
Choose a tag to compare

If you are enjoying this multiscrape custom component, please consider to:
"Buy Me A Coffee"

Changes

  • Support for scraping sensors with timestamp device_class - fix #174

📦 Dependencies

  • Bump release-drafter/release-drafter from 5.21.1 to 5.22.0 (#173) @dependabot
  • Bump pre-commit from 2.20.0 to 2.21.0 in /.github/workflows (#170) @dependabot
  • Bump black from 22.10.0 to 22.12.0 in /.github/workflows (#169) @dependabot