Hey, i want to use the Scrape sensor to log the listeners of following Website: www.Schwarzsender.de
In my opinion, the selector should be “#post-45 > div > div > div > div:nth-child(5) > span”.
Unfortunately, HA does not get any values with this Configuration entry:
- platform: scrape
name: Zuhoerer1
resource: http://www.schwarzsender.de/
select: '#post-45 > div > div > div > div:nth-child(5) > span'
Other fields (the title etc.) work fine.
The Code of the Website is:
<div style="width:100%;margin:auto;text-align:center;">
Zuhörer: <span class="cc_streaminfo" data-type="listeners" data-username="sender" data-mount="/986"></span>
</div>
I would be really grateful for help. I’ve been dealing with this problem for many days.