Scrape not working anymore

I am scraping the time of a specific website, for the prayer times.
It has always worked, but suddenly it stopped working 2-3 days ago.
My config is below on how it was working:

I have also tried it without the ‘’>’’ but also not working.
The sensor named: sensor.imsak is showing: Unknown at this momemt.

Webscrape probibly blocked or backend firewall. Diyanet probibly blocked Webscrape by js or other type security.

Here another website that uses Diyanet Namaz calender example that you can use. For Webscrape . Use simple site like this. Diyanet has sophisticated website and backend…

platform: scrape
  resource: https://www.huzursayfasi.com/namaz-vakitleri/papendrecht-namaz-vakitleri.html
  select: "body > div > div.left > section:nth-child(1) > div > table > tbody > tr:nth-child(2) > td:nth-child(1)"
  name: İmsak
  headers:
    User-Agent: Mozilla/5.0
- platform: scrape
  resource: https://www.huzursayfasi.com/namaz-vakitleri/papendrecht-namaz-vakitleri.html
  name: Güneş
  headers:
    User-Agent: Mozilla/5.0
  select: "body > div > div.left > section:nth-child(1) > div > table > tbody > tr:nth-child(2) > td:nth-child(2)"
- platform: scrape
  resource: https://www.huzursayfasi.com/namaz-vakitleri/papendrecht-namaz-vakitleri.html
  name: Öğle
  headers:
    User-Agent: Mozilla/5.0
  select: "body > div > div.left > section:nth-child(1) > div > table > tbody > tr:nth-child(2) > td:nth-child(3)"
- platform: scrape
  resource: https://www.huzursayfasi.com/namaz-vakitleri/papendrecht-namaz-vakitleri.html
  name: İkindi
  headers:
    User-Agent: Mozilla/5.0
  select: "body > div > div.left > section:nth-child(1) > div > table > tbody > tr:nth-child(2) > td:nth-child(4)"
- platform: scrape
  resource: https://www.huzursayfasi.com/namaz-vakitleri/papendrecht-namaz-vakitleri.html
  name: Akşam
  headers:
    User-Agent: Mozilla/5.0
  select: "body > div > div.left > section:nth-child(1) > div > table > tbody > tr:nth-child(2) > td:nth-child(5)"
- platform: scrape
  resource: https://www.huzursayfasi.com/namaz-vakitleri/papendrecht-namaz-vakitleri.html
  name: Yatsı
  headers:
    User-Agent: Mozilla/5.0
  select: "body > div > div.left > section:nth-child(1) > div > table > tbody > tr:nth-child(2) > td:nth-child(6)"

1 Like

thank you very much Demir!
Isin ras gelsin kardesim.
Everything is working fine now

1 Like

Cemi cümlemizin…

I doesn’t. Could you help ? Best regards, Ramazan
@Demir28tr