Can anyone Help me?
I want to have a scrape sensor from a website. But I think the select is wrong.
- platform: scrape
name: ROVA ophaalmoment
resource: http://afvalkalender.rova.nl/nl/8051BB/5
select: “firstDate”
Can anyone Help me?
I want to have a scrape sensor from a website. But I think the select is wrong.
Try:
- platform: scrape
name: ROVA ophaalmoment
resource: http://afvalkalender.rova.nl/nl/8051BB/5
select: ".firstDate"
You’re looking for a class, so it begins with a dot character (if it were an id, your select would begin with #). The Scrape integration relies on Beautiful Soup css selectors.
That was verry easy.
Thanks a lot!!