Commit b3af2296 authored by Jan Wagemakers's avatar Jan Wagemakers

html2text fix

parent 198bcb63
......@@ -20,7 +20,7 @@ echo "<pre>" >> $HTML
START="Laatste update"
END="Het weer, in je broekzak!"
a="$(wget --user-agent "$USERAGENT" https://www.meteo.be/nl/weer/verwachtingen/weer-voor-de-komende-dagen -qO - \
| html2text -style pretty -width 64 -ascii -nobs)"
| html2text -width 64 -nobs | grep -v getObservationBelgiumMap.php | grep -v '/services/' | sed 's#\*\+#\n#g')"
a="$(echo "${a#*"$START"}")"
echo "$START${a%%"$END"*}" >> $HTML
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment