Hi,
I’m trying to create a scrape sensor to monitor the changes of a file. The url return a directory list so I need to scrape the date and time of a file, but there is no tags so i don’t undestand how to.
The url is
https://actv.avmspa.it/sites/default/files/attachments/opendata/navigazione/
and i want to scrape the date and time of the actv_nav.zip file. Using multiscrape and sensor
- unique_id: Stato_actv
name: Stato actv
select: "body > pre:nth-child(3) > a:nth-child(2)"
extract: text
value_template: "{{ value }}"
I can extract the name of file, but i don’t know how to extract the other data that i need. Can you help me?
Thank you in advance