And again: REST sensor because of 255 length limit

I tried to scrape a part of a website. The part I want to have was bigger than 255 character so I ran into the 255 max length problem. Tried to using a REST sensor instead but I am not successfull. This is my sensor definition:

  - platform: rest
    name: vlg 180 ausfall
    json_attributes_path: "$.html.body.div.div.div.main.div[1]"
    scan_interval: 3600
    value_template: 1
      - div[1]

What I really want to get is the main information in the site which is inside of

What can I do to get this as an attribute?

This is the relevant part:

The problem is that the request returns HTML, not JSON. You could perhaps look at using multiple sensors within the scrape sensor - one for each section to try and keep under the 255 character limit (although the 19.01 example exceeds this). Unfortunately the scrape sensor can’t (currently) load values into attributes.

Alternatively, if you’re using Node Red, you could do it there.

Thank you. I really solved the problem with the help of NodeRed which I was using already before. For everybody who wants to solve the same problem:

trigger > http request > html > home assistant sensor