Hi everyone, i wanted to ask if it is possible to include a cookie when configuring a scrape sensor in HA.
I want to scrape the italian energy prices and display on the dashboard which are the cheaper hours to use electricity. The website provides a XML file including all the prices for every hour of the day but first it asks you to accept the terms agreement. How can i solve this problem?
Hi, thanks for the reply. I tried setting it up with ha-multiscrape but the state of the sensor is unavailable. I checked the contents of the page_soup.txt file and what i see is the contents of the form page.
The ha-multiscrape wiki says that if the data is not in that file, it is retrieved in the background by javascript.
How can i check if this is the case or if it is a config error?
I have a problem with the YouTube page. When I try to read it, I get to the cookie consent page. I tried to consent to the cookie using the following code. Unfortunately, it doesn’t work.