diff --git a/cpdAlerts.sh b/cpdAlerts.sh index 5a8cda1..3371b60 100755 --- a/cpdAlerts.sh +++ b/cpdAlerts.sh @@ -59,7 +59,9 @@ function clamancha { function extremadura { comunidad="Extremadura" pdfFile=".boletin$comunidad.pdf" - mainURL="https://doe.juntaex.es/ultimosdoe/mostrardoe.php?fecha=20250411&t=o" + mainURL="https://doe.juntaex.es/ultimosdoe/mostrardoe.php?fecha=" + mainURL+=$(date +"%Y%m%d") + mainURL+="t=o" pdfURL1="https://doe.juntaex.es" pdfURL2=$(wget -q $mainURL -O - | grep -i -o "