Hi all,
I am trying to get some fuel prices the same way i did with other prices for energy etc via multiscrape (which are working).
But the fuel prices somehow won’t get scraped and shown in the entity. It’s always getting the “unavailable”.
Thought it was a small and easy thing to setup…
Only thing i get in the logs is a 403 error. But no idea how/if i can fix this to get the price?
Scraper_noname_0 # Updating failed with exception: Client error '403 Forbidden' for url 'https://www.makro.nl/vestigingen/breda/' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
Tried and searched if i made a typo or a missing ’ somewhere etc, but doesn’t seem the case.
Any idea how i can make this work? It’s driving me crazy or i am missing something small that i keep missing…
Used code in the yaml:
## Package
multiscrape:
## Sensor
- resource: https://www.makro.nl/vestigingen/breda
scan_interval: 3600
sensor:
- unique_id: euro95_prijs_makro
name: Euro 95
select: ".fuel-prices .price:nth-child(2) .field-price"
unit_of_measurement: "€/l"
value_template: "{{ value.split('€')[1]|replace(',','.') }}"
Thanks in advance ![]()